You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My app crashes when requesting permission on an Android 5.1 device
Steps to reproduce?
1. Install v5.2.8
2. Launch the app on an android 5 device
3. Wait for one signal to request the required permissions
4. App crashes
What did you expect to happen?
I expected nothing to happen, especially since I think it is just notification permission and that doesn't exist on android 5
OneSignal Flutter SDK version
5.2.8
Which platform(s) are affected?
iOS
Android
Relevant log output
Fatal Exception: java.lang.NoClassDefFoundError: r6.e
at com.onesignal.flutter.OneSignalNotifications.requestPermission(OneSignalNotifications.java:1)
at com.onesignal.flutter.OneSignalNotifications.onMethodCall(OneSignalNotifications.java:1)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:1)
at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:1)
at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0(DartMessenger.java:1)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:5911)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1113)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:879)
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
logickoder
changed the title
[Bug]:
[Bug]: App crashes to due to NoClassDefFoundError on an Android 5.1 device when requesting permissions
Dec 16, 2024
What happened?
My app crashes when requesting permission on an Android 5.1 device
Steps to reproduce?
What did you expect to happen?
I expected nothing to happen, especially since I think it is just notification permission and that doesn't exist on android 5
OneSignal Flutter SDK version
5.2.8
Which platform(s) are affected?
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: