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" }