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
App crashes in foreground on user's Galaxy Z Flip5.
Steps to reproduce?
Open/receive notification on "Galaxy Z Flip5"
What did you expect to happen?
Expected not to crash
OneSignal Android SDK version
Release 4.8.10
Android version
14
Specific Android models
* Galaxy Z Flip5
Relevant log output
Fatal Exception: android.view.WindowManager$BadTokenException: Unable to add window -- token android.view.ViewRootImpl$W@93a92f5 is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:1823)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:600)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:150)
at android.widget.PopupWindow.invokePopup(PopupWindow.java:1721)
at android.widget.PopupWindow.showAtLocation(PopupWindow.java:1421)
at android.widget.PopupWindow.showAtLocation(PopupWindow.java:1387)
at com.onesignal.InAppMessageView.createPopupWindow(InAppMessageView.java:327)
at com.onesignal.InAppMessageView.access$900(InAppMessageView.java)
at com.onesignal.InAppMessageView$2.run(InAppMessageView.java:271)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:9063)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:588)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Hello @wklimczykRASP, Thank you for sharing your stack trace. This issue has been fixed in our User Model 5.1.24. I recommend migrating to this SDK version, and you should see the issue resolved.
What happened?
App crashes in foreground on user's Galaxy Z Flip5.
Steps to reproduce?
What did you expect to happen?
Expected not to crash
OneSignal Android SDK version
Release 4.8.10
Android version
14
Specific Android models
* Galaxy Z Flip5
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: