From 1f2eabeb1a3dc5ab85c6ae157a93e1b98a176b9f Mon Sep 17 00:00:00 2001 From: Scott Kyle Date: Tue, 8 Dec 2015 16:59:12 -0800 Subject: [PATCH] Update to use React Native 0.16 Outside of the ReactExample test, no backwards incompatible changes were needed. --- examples/ReactExample/ReactExampleTests/ReactExampleTests.m | 2 +- examples/ReactExample/package.json | 2 +- tests/react-test-app/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/ReactExample/ReactExampleTests/ReactExampleTests.m b/examples/ReactExample/ReactExampleTests/ReactExampleTests.m index faac8843..1d9d12eb 100644 --- a/examples/ReactExample/ReactExampleTests/ReactExampleTests.m +++ b/examples/ReactExample/ReactExampleTests/ReactExampleTests.m @@ -37,7 +37,7 @@ BOOL foundElement = NO; __block NSString *redboxError = nil; - RCTSetLogFunction(^(RCTLogLevel level, NSString *fileName, NSNumber *lineNumber, NSString *message) { + RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { if (level >= RCTLogLevelError) { redboxError = message; } diff --git a/examples/ReactExample/package.json b/examples/ReactExample/package.json index 5cbd2920..100f87b4 100644 --- a/examples/ReactExample/package.json +++ b/examples/ReactExample/package.json @@ -6,7 +6,7 @@ "start": "react-native start" }, "dependencies": { - "react-native": "^0.15.0", + "react-native": "^0.16.0", "realm": "file:../../lib" } } diff --git a/tests/react-test-app/package.json b/tests/react-test-app/package.json index d1e9a1a2..de9946b8 100644 --- a/tests/react-test-app/package.json +++ b/tests/react-test-app/package.json @@ -6,7 +6,7 @@ "start": "react-native start" }, "dependencies": { - "react-native": "^0.15.0", + "react-native": "^0.16.0", "realm": "file:../../lib", "realm-tests": "file:../lib" }