Open
Description
What happened?
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
Activity