Skip to content
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

[Bug]: Can't build android 31 with issue androidx.work:work-runtime #1468

Closed
2 of 3 tasks
letruonglamit opened this issue Dec 23, 2022 · 1 comment
Closed
2 of 3 tasks

Comments

@letruonglamit
Copy link

letruonglamit commented Dec 23, 2022

What happened?

Environment:

  • React native: 0.61.5
  • Platform: Android

I am trying to build the app but got the issue about androidx.work:work-runtime, In /android/app/build.gradle, I am using androidx.work:work-runtime:2.7.1 for android 31 but got the issues Could not resolve androidx.work:work-runtime:[2.1.0,2.6.99].

Screen Shot 2022-12-23 at 12 49 56

Steps to reproduce?

1. Install react-native-onesignal: "^4.5.0"
2. Run react-native run-android

What did you expect to happen?

The app can run on Android

React Native OneSignal SDK version

Release 4.5.0

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jennantilla
Copy link
Contributor

Hello @letruonglamit apologies that this issue was missed.

I wanted to flag that our newest React Native release 5.0.5 has upgraded work-runtime dependencies [2.1.0, 2.8.99]. Please note that this includes breaking changes when upgrading from SDK 4.x.x. See our migration guide here for more details on upgrading.

Please let us know if you have any additional questions or concerns!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants