Questions tagged [realm-cloud]
11 questions
9
votes
0 answers
How to Convert Realm Cloud Anonymous User to Real User
If I create an anonymous user on Realm Cloud in Swift like this:
let credentials = SyncCredentials.anonymous()
SyncUser.logIn(with: credentials, server: Constants.authURL) { user, error in
//...
}
A user is created with a random Provider ID like…

Clifton Labrum
- 13,053
- 9
- 65
- 128
4
votes
2 answers
Converting local Realm to synced Realm in the middle of app life cycle (in Swift)
My app will have a paid feature called multi-devices sync. I would like to implement the feature with Realm Cloud - Query Based Sync.
I know how to convert local Realm to synced Realm thanks to
this thread.
But this is based on the scenario that…

Vincent Gigandet
- 918
- 10
- 21
3
votes
3 answers
Using Realm Sync with Azure Functions
I'm trying to use Realm Cloud in an Azure Function but it keeps giving me an error:
make_dir() failed: Permission denied Path: /realm-object-server/
Is there a way to configure Azure Functions to have permissions to create files? I'm new to Azure…

GBreen12
- 1,832
- 2
- 20
- 38
2
votes
1 answer
Use Realm GraphQL Client with a global/shared realm in Realm Cloud
I can successfully use the Realm GraphQL Client with a realm path like myInstance.us1.cloud.realm.io/~/realmName but when trying to use a global path, i.e., myinstance.us1.cloud.realm.io/realmName, I always get a 502 response from the server.
Any…

sellmeadog
- 7,437
- 1
- 31
- 45
1
vote
0 answers
default.realm data to realm sync/cloud
My app is a Freemium type, users can use the app for free but for offline usage only and every data is stored in default.realm file.
Everything works perfectly as it should be, but when user want to synchronize with other devices, they are required…

Junyong Yap
- 25
- 1
- 5
1
vote
1 answer
Firebase Authentication for Realm Cloud using JWT and a Google Cloud Function
I am attempting to use JWTs to authenticate into Realm Cloud. I am using Firebase as the authentication service and am attempting to create a Google Cloud Function to generate the JWT. I generated the private and public keys using the terminal…

Josh R
- 104
- 4
1
vote
0 answers
Use only one registered realm user on all devices
I am trying to make an app, first iOS then Android, which will have synced offline-first realm.
Idea is to make changes in database through Realm Studio, and for all devices to sync with it when they have internet access.
The user will only read…

Robert
- 11
- 2
0
votes
1 answer
Realm Swift Filter Query Based On List Property
I need some help with a realm swift query. Here is the business context:
There are two user types:
User Type 1: Show Manager
A show manager can create shows. Below you’ll find the necessary details of a Show object. As you can see every show has a…

CTK
- 91
- 2
- 8
0
votes
1 answer
Partial Realms - Why and When are They Created?
I am using Realm and building a Swift mobile app. I am really struggling to understand why and when Partial realms are created.
Here is my scenario:
a user logs in to the app and is brought to the first view controller.
In the first view…

CTK
- 91
- 2
- 8
0
votes
1 answer
Realm objects returns nil after adding
I created an Person object when the User logs in:
let creds = SyncCredentials.jwt(accessToken)
SyncUser.logIn(with: creds, server: Constants.syncAuthURL, onCompletion: { [weak self](user, err) in
if let user = user {
…

rouge
- 437
- 1
- 7
- 17
0
votes
1 answer
issue on realm 5.7.0 for android API Added Partial Query not reflect on cloudRealm Each time mostly after 5 minute
I have Realm Partial Sync Query and i Attached OrderedCollectionChangeSet to it to reflect data change but when i start app it work fine but after 5 minutes its stop Sync to RealmCloud.
Android Realm api 5.7.0
RealmCloud 3.11.0
public void…

shakil shaikh
- 68
- 6