Questions tagged [mongodb-realm]

MongoDB Realm is a serverless platform and mobile database. MongoDB Stitch and Realm Database are now part of MongoDB Realm.

114 questions
0
votes
0 answers

How do I create an access token with anonymous authentication with MongoDB realm GraphQL API?

I'm new to MongoDB, and I have been loitering on their docs for...an embarrassingly long time. I keep getting this error: Uncaught TypeError: Cannot read properties of null (reading '_accessToken') somewhere between my AnonProvider element and my…
0
votes
1 answer

Linking Google SignIn and Email/Password login in Mongo Realm

We have used Mongo Realm for our React Native project. I have noticed that while creating an account using the simple create account method and Google sign, even tho we use the same email, two different accounts are created, is there any way to link…
Prithin Babu
  • 176
  • 1
  • 3
  • 12
0
votes
1 answer

Does Realm guarantee that queries always reflect the current state of the database, even within a write transaction?

Consider the following example: class Item: Object { @objc dynamic var id: UUID = UUID() @objc dynamic var value: Int = 0 override class func primaryKey() -> String? { return "id" } } let realm = try!…
lukas
  • 2,300
  • 6
  • 28
  • 41
0
votes
0 answers

Access User’s Information on the Client side - MongoDB's Device Sync - Kotlin SDK

I’m using JWT provider for the authentication. Also from that JWT I’m getting some custom fields like: name, email, picture, and I’m successfully saving them on my Mongo DB Atlas (User db). I can see those information about the user when I open up:…
Stefan
  • 2,829
  • 5
  • 20
  • 44
0
votes
1 answer

MongoDB Realm in .NET Framework 4.8.1 App

I am working in a WPF based app, and I would like to use Realm as a DB engine for a specific part of the project. I tried installing the packages via Nuget, but for some reason it appears to fail. I believe the problem seems to be related to using…
ppusiol
  • 41
  • 2
0
votes
0 answers

How to give to google function read-write permissions?

I have firebase function with next error Error: Unable to open a realm at path '/workspace/mongodb-realm/products-gjstr/server-utility/metadata/sync_metadata.realm.lock'. Please use a path where your app has read-write permissions. This is mongo…
Denys Medvediev
  • 1,160
  • 3
  • 16
  • 32
0
votes
0 answers

Mongodb, Realm-cli: “Unknown system error -86”

As a personal project, I wanted to build an offline first app with Mondodb's realm, but I am not getting very far at all. The documentation suggests to install the realm CLI (npm install -g mongodb-realm-cli), but I am unable to run it. I get this…
0
votes
0 answers

Can't view realm file in Realm Studio (Version 13.0.0) on macOS Ventura 13.0

I tried to open realm demo file in Realm Studio but all that I see is the above image. I've tried several times but still same results.
Kakyire
  • 112
  • 6
0
votes
1 answer

Apple Push Notifications from a serverless MongoDB App Services backend

I have been setting up Apple Push Notifications for an iOS app, using JSON Web Tokens rather than certificates. I can generate a JWT and make the required POST request from within the app (using the Swift-JWT package) and the notification is…
Chris
  • 4,009
  • 3
  • 21
  • 52
0
votes
0 answers

How can I fetch all the collection names in a MongoDB Atlas database using Realm functions?

I have gone through the official Atlas documentation but couldn't find this. Although in the MongoDB manual documentation I came across db.getCollectionNames() but it is also not working for me. I am getting this error, TypeError:…
Samson
  • 23
  • 5
0
votes
1 answer

GraphQL Query for Mongodb

I am using graphql from the last few days. I am using query to excess some data from my mongodb data base. The query is query {try{sentences{tokens { index word }}}} It is giving me all the data from my data base. Now when I am trying to use some…
jonson
  • 105
  • 2
  • 7
0
votes
0 answers

Mongo RealmSync Getting Error: Encountered non-recoverable resume token error

I am getting the below error Mongo RealmSync, after that i need to manually re-enable the sync process. Anyone know, what is the cause of that error, encountered non-recoverable resume token error. Sync cannot be resumed from this state and must be…
Mudasser
  • 29
  • 2
0
votes
0 answers

NextJS, MongoDB Realm, Apollo Example?

Our project which we actually developed in ReactJS, we are currently moving to NextJS. Now we have the problem that our original method in ReactJS using MongoDB Realm and Apollo(GraphQL) to retrieve data does not work in NextJS due to the need of…
0
votes
0 answers

Realm - Select multiple rows

I have a mongodb-realm object(collection) named 'Products': THE SCHEMA: const Products = { name: "Products", properties: { _id: "objectId", name : "string", } } THE DATA _id:'60f73ca7c1a70278596cc7d0', products:[ …
Amani
  • 227
  • 1
  • 10
0
votes
1 answer

I want to store formatted text in Realm Swift database

noob swift guy here. I have this UITextView where the user writes something. I need to store his "note" to the database with all the formated text in it. That means if it has bold, I need to display it as bold later. This text should be stored in…