diff --git a/android/build.gradle b/android/build.gradle index 4d99c41..944ea2f 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -34,5 +34,5 @@ repositories { } dependencies { - implementation 'com.facebook.react:react-native:0.15.+' + implementation 'com.facebook.react:react-native:+' } diff --git a/android/src/main/java/com/robinpowered/react/battery/DeviceBatteryPackage.java b/android/src/main/java/com/robinpowered/react/battery/DeviceBatteryPackage.java index e9d0b21..966ff27 100644 --- a/android/src/main/java/com/robinpowered/react/battery/DeviceBatteryPackage.java +++ b/android/src/main/java/com/robinpowered/react/battery/DeviceBatteryPackage.java @@ -21,11 +21,6 @@ public List createNativeModules(ReactApplicationContext reactAppli return modules; } - @Override - public List> createJSModules() { - return Collections.emptyList(); - } - @Override public List createViewManagers(ReactApplicationContext reactApplicationContext) { return Arrays.asList();