Realm is a mobile database: an alternative to SQLite & key-value stores https://realm.io
Go to file
Ari Lazier 6f2b137b1d use latest object store changes 2015-09-28 15:33:44 -07:00
ReactNative No longer crash after enabling Chrome debugging 2015-09-23 11:42:02 -07:00
RealmJS.xcodeproj use latest object store changes 2015-09-28 15:33:44 -07:00
apple Share ExternalCommitHelpers between Realm instances for a single path 2015-09-28 15:33:42 -07:00
examples fix for latest version of react 2015-09-16 10:02:15 +02:00
src use latest object store changes 2015-09-28 15:33:44 -07:00
tests add deleteAll to Realm 2015-09-08 14:07:14 -07:00
.gitignore move js work from realm-cocoa-private 2015-08-13 09:12:48 -07:00
README.md Update README.md 2015-09-04 10:11:11 -07:00
index_set.cpp Shuffle stuff around and clean some things up 2015-09-28 15:33:41 -07:00
index_set.hpp Shuffle stuff around and clean some things up 2015-09-28 15:33:41 -07:00
realm_delegate.hpp Move the interprocess notification functionality to the object store 2015-09-28 15:33:41 -07:00
schema.cpp use latest object store changes 2015-09-28 15:33:44 -07:00
schema.hpp use latest object store changes 2015-09-28 15:33:44 -07:00
transact_log_handler.cpp Move the interprocess notification functionality to the object store 2015-09-28 15:33:41 -07:00
transact_log_handler.hpp Shuffle stuff around and clean some things up 2015-09-28 15:33:41 -07:00

README.md

RealmJS

RealmJS contains Realm bindings for integrating with mobile apps built using javascript frameworks such as ReactNative and PhoneGap.

ReactNative Example

Make sure your environment is set up to run react native applications. Follow the instructions here https://facebook.github.io/react-native/docs/getting-started.html to the point you have installed the react-native-cli.

The ReactNative sample project is in the examples/ReactExample directory. You must run npm install in this directory before running the example for the first time.

ReactNative Project Setup

  • Create a new ReactNative project react-native init <project-name> and open the generated XCode project.
  • Drag RealmJS.xcodeproj into the Libraries folder in your project.
  • In the target for your application, add libRealmReact.a in the Link Binary with Library build phase.
  • Use Realm in your app.
  • Drag RealmJS.framework from the Products directory under RealmJS.xcodeproj into the Embedded Libraries section in the General tab for you app's target settings. This bundles the library with your app.