diff --git a/build.gradle b/build.gradle index 63aab5c..3c8d155 100644 --- a/build.gradle +++ b/build.gradle @@ -30,5 +30,5 @@ repositories { } dependencies { - implementation 'com.facebook.react:react-native:0.15.+' + implementation 'com.facebook.react:react-native:+' } diff --git a/package.json b/package.json index 53fd915..ea3da44 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,6 @@ "license": "MIT", "homepage": "", "peerDependencies": { - "react-native": ">= 0.11.0" + "react-native": ">= 0.47.0" } } diff --git a/src/main/java/com/robinpowered/react/SharedPreferencesPackage.java b/src/main/java/com/robinpowered/react/SharedPreferencesPackage.java index d30254c..87ca85c 100644 --- a/src/main/java/com/robinpowered/react/SharedPreferencesPackage.java +++ b/src/main/java/com/robinpowered/react/SharedPreferencesPackage.java @@ -19,11 +19,6 @@ public List createNativeModules(ReactApplicationContext reactAppli return modules; } - @Override - public List> createJSModules() { - return Collections.emptyList(); - } - @Override public List createViewManagers(ReactApplicationContext reactApplicationContext) { return Arrays.asList();