-
Notifications
You must be signed in to change notification settings - Fork 1
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
java.lang.ClassCastException: com.phrase.android.sdk.inject.PhraseContextWrapper cannot be cast to android.app.ContextImpl #25
Comments
Hi @mzsanford, the Android SDK is expecting an exact instance of |
Some problem : Unable to instantiate receiver com.google.firebase.iid.FirebaseInstanceIdReceiver: java.lang.ClassCastException: com.phrase.android.sdk.inject.PhraseContextWrapper cannot be cast to android.app.ContextImpl |
Hey, thanks for your patience. We have now found a solution to be able to wrap the application context in an |
Hello, We have the same issue that occurs on the latest Phrase app version of Android SDK |
Same issue here:
|
Hi, this turned out to be a regression and has should be resolved in version 3.7.1 https://github.com/phrase/phrase-android/releases/tag/3.7.1 |
I'm testing Phrase integration and my app has a
BroadcastReceiver
registered in the manifest.xml like so:And the class itself is a simple subclass of
BroadcastReceiver
implementingonReceive
. If I comment this out of the manifest.xml everything works fine. When I have this enabled my app crashes soon after launch with:Device: Google Pixel 5, Android 11
The text was updated successfully, but these errors were encountered: