From ec5082fe19228e29d91f60b5980ec837704c3532 Mon Sep 17 00:00:00 2001 From: Justas Brazauskas Date: Wed, 18 Jan 2023 14:05:16 +0200 Subject: [PATCH 1/3] Remove incompatible methods w/ RN 0.43+ --- .../com/robinpowered/react/SharedPreferencesPackage.java | 5 ----- 1 file changed, 5 deletions(-) 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(); From 0e93ecfa0dfc5d0d59da22bd8e12300b83dcae67 Mon Sep 17 00:00:00 2001 From: Justas Brazauskas Date: Wed, 18 Jan 2023 14:05:34 +0200 Subject: [PATCH 2/3] Support any newer RN --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:+' } From 22183b5b43dcd8561fdd527c41558157b0e5d421 Mon Sep 17 00:00:00 2001 From: Justas Brazauskas Date: Wed, 18 Jan 2023 14:07:50 +0200 Subject: [PATCH 3/3] Support any RN above 0.63 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } }