From 7df7d44a6bac1ac59dc799b8473947132e6df42c Mon Sep 17 00:00:00 2001 From: Bartol Karuza Date: Sun, 3 Mar 2019 20:20:17 +0800 Subject: [PATCH] fix(js) native modules path relative to the consumer project --- js/nativeInterface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/nativeInterface.js b/js/nativeInterface.js index b65d3beeb..ae916a8a9 100644 --- a/js/nativeInterface.js +++ b/js/nativeInterface.js @@ -1 +1 @@ -export default require('NativeModules').RNCCameraRoll; +export default require('react-native').NativeModules.RNCCameraRoll;