From 9c8a1ed8ae197e2c9449261bda6ce2b4a3ce0452 Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Sun, 7 Aug 2016 09:33:36 -0700 Subject: [PATCH] fixes for RN 0.31.0 --- examples/ReactExample/package.json | 2 +- react-native/ios/RealmReact/RealmReact.mm | 2 ++ tests/react-test-app/package.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/ReactExample/package.json b/examples/ReactExample/package.json index 5bc9e31a..5e4829c6 100644 --- a/examples/ReactExample/package.json +++ b/examples/ReactExample/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "react": "~15.2.0", - "react-native": "^0.29.0", + "react-native": "^0.31.0", "realm": "file:../.." } } diff --git a/react-native/ios/RealmReact/RealmReact.mm b/react-native/ios/RealmReact/RealmReact.mm index 9ffcdd99..a30dda77 100644 --- a/react-native/ios/RealmReact/RealmReact.mm +++ b/react-native/ios/RealmReact/RealmReact.mm @@ -19,11 +19,13 @@ #import "RealmReact.h" #import "RealmAnalytics.h" #import "RCTBridge.h" +#import "RCTJavaScriptExecutor.h" #import "jsc_init.h" #import "shared_realm.hpp" #import "realm_coordinator.hpp" +#import #import #import #import diff --git a/tests/react-test-app/package.json b/tests/react-test-app/package.json index 2ac3847f..1799ba2c 100644 --- a/tests/react-test-app/package.json +++ b/tests/react-test-app/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "react": "~15.2.0", - "react-native": "^0.29.0", + "react-native": "^0.31.0", "react-native-fs": "^1.1.0", "xmlbuilder": "^4.2.1", "realm": "file:../..",