Open CristianCosmicVspartners opened 8 months ago
I am having the same error. Did you find anything?
Can any one please take a look at this and advise ?
Hi @CristianCosmicVspartners thank you for reporting. Are you experiencing this Could not instantiate..
all the time or only sometimes?
I am able to reproduce the issue if work-runtime-ktx:2.8.1
is used with androidx.work:work-runtime:2.7.0
in a forceful way, such as:
implementation('androidx.work:work-runtime-ktx:2.8.1')
api('androidx.work:work-runtime') {
version {
strictly '2.7.0'
}
}
However it isn't clear what's downgrading the version in your scenario, but finding that is the key to solving this.
Can you run ./gradlew app:dependencies
or ./gradlew build --scan
from the android folder of your project. (where your build.gradle
or gradlew
files are located) and share the output? This should point to what library is defining a force downgrade.
Another way to find the breaking library is if you remove libraries from your project, or make a new project and build them up and share the project reproducing the issue.
Hello, I have the same issue on Android
What happened?
After the upgrade from v4 to v5 I am getting the Native Android error and receive no push.
Steps to reproduce?
What did you expect to happen?
Receive push notifications
React Native OneSignal SDK version
5.1.0
Which platform(s) are affected?
Relevant log output
Code of Conduct