react-native-disable-battery-optimizations-android
react-native-disable-battery-optimizations-android copied to clipboard
Lib is not being installed because of usage of compile in build.gradle
I tried installing the lib in an app with react-native 0.69 version, but it's not allowing me to build the app because it's using the compile keyword, which was removed in grade 7
Error message
I believe the solution would be to generate a new lib version, as this PR was merged, but never deployed, and the latest release is from 2019
Installing the lib like this in package.json is the only solution for now
"react-native-disable-battery-optimizations-android": "https://github.com/rasheedk/react-native-disable-battery-optimizations-android#master"