Closed myinnos closed 1 week ago
@myinnos Thank you for reporting this issue. We have noticed this crash occurring in versions 5.1.18 - 5.1.20 and are currently working on a fix. We will notify you once the fix is available. In the meantime, if you have encountered this crash during your development, please share your steps to reproduce it if that's possible.
i also got this error.
Several users also experienced the same crash in my app. Here is the one example stack trace:
ArrayIndexOutOfBoundsException length=0; index=0 mechanism UncaughtExceptionHandler handled false
com.onesignal.core.activities.PermissionsActivity in onRequestPermissionsResult$lambda-0 at line 101 com.onesignal.core.activities.PermissionsActivity in $r8$lambda$ECZClNxyXcb1TMRbSJOUwr-2fOM com.onesignal.core.activities.PermissionsActivity$$ExternalSyntheticLambda0 in run android.os.Handler in handleCallback at line 958 android.os.Handler in dispatchMessage at line 99 android.os.Looper in loopOnce at line 230 android.os.Looper in loop at line 319 android.app.ActivityThread in main at line 8919 java.lang.reflect.Method in invoke com.android.internal.os.RuntimeInit$MethodAndArgsCaller in run at line 578 com.android.internal.os.ZygoteInit in main at line 1103
Device: Family SM-S911B
In Firebase cryashlyatics show this error-
Fatal Exception: java.lang.ArrayIndexOutOfBoundsException length=0; index=0 com.onesignal.core.activities.PermissionsActivity.onRequestPermissionsResult$lambda-0 (PermissionsActivity.kt:101)
device info Poco C61 Version:Android 14
@jinliu9508 After two weeks still no fix 🙄
Facing this issue too
This issue has been fixed in v5.1.21. Please upgrade to our latest SDK version and let us know if you encounter any issues. Thank you for your patience and support!
What happened?
The crash was reported in Crashlytics.
Steps to reproduce?
What did you expect to happen?
No crash
OneSignal Android SDK version
5.1.20
Android version
14, 13
Specific Android models
Relevant log output
Code of Conduct