can I add/remove sync capabilities freely to a realm?
See original GitHub issueGoals
In my app, syncing to a server is a ‘premium’ feature. essentially, users can create a local realm database to store app data but backing up requires a subscription. because of this, whether a realm should be synced or not can change at any time. I’ve seen the docs on migrating a local realm to a synced one, but it seems like it will add a lot of complexity to go back and forth. is there a simple way to, for example, set up a synced realm but not give it a sync address? or would this involve connecting to a custom auth server of some sort and checking if the user has a subscription, then syncing manually?
- Realm JS SDK Version: 1.13.0
- Node or React Native: React Native
- Client OS & Version: n/a
- Which debugger for React Native: None
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Realm The property type Tender[] cannot be expressed as ...
I have a pretty basic collection for sales in C# with two nested arrays of objects. [Serialized] public class Sale : RealmObject {...
Read more >Realms [Cisco Secure Firewall Management Center]
About User Synchronization. You can configure a realm or realm sequence to establish a connection between the management center and an LDAP ...
Read more >Disable Realm Sync only for non-premium users
This is super easy to do! When you only want to work with a local realm, connect to it with no config -...
Read more >realm | Yarn - Package Manager
Fast: Realm is faster than even raw SQLite on common operations, while maintaining an extremely rich feature set. Device Sync: Makes it simple...
Read more >MongoDB vs Realm | What are the differences?
It supports JSON objects so you can mimic the MongoDB functionality, ... gives you an GraphQL api guaranteed to be in sync with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@nguyen-tam we never found a solution to this problem and I’m no longer on the team building that project. Sorry, best of luck
This issue will be addressed by #4331, which provides the ability to convert Realms to/from Sync in a consistent manner.