Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

mongodb-developer/realm-tutorial-react-native

 
 

Repository files navigation

Notice: Repository Deprecation

This repository is deprecated and no longer actively maintained. It contains outdated code examples or practices that do not align with current MongoDB best practices. While the repository remains accessible for reference purposes, we strongly discourage its use in production environments. Users should be aware that this repository will not receive any further updates, bug fixes, or security patches. This code may expose you to security vulnerabilities, compatibility issues with current MongoDB versions, and potential performance problems. Any implementation based on this repository is at the user's own risk. For up-to-date resources, please refer to the MongoDB Developer Center.

Realm React Native Tutorial

Follow along at https://docs.mongodb.com/realm/tutorial/react-native/

Troubleshooting

The most common issue is schema mismatch due to frequent little tweaks to the schema as you develop your app.

  • Be sure to check the logs in Realm UI for more information as well as the console in your app.
  • Delete the app from the simulator to purge local data.
  • Restart Sync in the Realm UI by clicking "Delete Synced Data" on the Sync page.
  • Be sure to deploy your changes in the Realm UI.
  • If your schema does not match the server, compare the class definitions from the SDKs tab in the Realm UI with those in the client code.
  • When creating objects, make sure the partition value of your new object matches the partition value you opened the Realm with.

Issues & Pull Requests

If you find an issue or have a suggestion, please let us know using the feedback widget on the docs site.

This repo is automatically derived from our main docs repo. If you'd like to submit a pull request -- thanks! -- please feel free to do so at https://github.com/mongodb/docs-realm/ (see the tutorial/ subdirectory).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 64.6%
  • Java 16.5%
  • Objective-C 11.8%
  • Starlark 5.1%
  • Ruby 2.0%