-
Notifications
You must be signed in to change notification settings - Fork 171
RN Keep Awake is not compatible with React Native 0.56 (Android) #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I had the same trouble, the lib is not compatible with my project version of RN, does someone knows one alternative? |
@corbt I am not too familiar with the task to upgrade the project to SDK 26, any idea if this would be a big lift? |
Here are a few solutions proposed in other packages: |
Could any of the users in this thread try out #49 and confirm whether the fix works? If that works I'm happy to merge and release a new version! |
@corbt YES Works great, thanks 👍 |
Should be fixed in 3.1.0 -- thanks! |
@corbt you mean 3.0.1 |
Xcode does warn that this still compiles for iOS 7 while react-native compiles for iOS 9 since 0.56.0 but it seems to work. |
This package will not compile with React Native 0.56. Due to Google's mandate to target SDK 26 by 1 August 2018, React Native upgraded their target SDK. This is change in not compatible with react-native-keep-awake.
New apps will not be able to submit to the Google Play store as of 1 August 2018 unless they use React Natvie 0.56, so a fix to this issue is time sensitive.
Replication:
react-native init
react-native run-android
.package.json:
The text was updated successfully, but these errors were encountered: