160996413: Firebase IAM(In-App Messaging) Crash 💣 BUG
See original GitHub issueBasic info:
- Android Studio version: 4.0
- Firebase Component: In-App Messaging
- Component version: 19.0.7
Describe the problem
We created a new campaign and for some of the users, the application failed during the showing In-App Message.
Here is the crash from crashlytics:
Fatal Exception: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:1000)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:428)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:118)
at com.google.firebase.inappmessaging.display.internal.FiamWindowManager.show(FiamWindowManager.java:28)
at com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplay$4$4.run(FirebaseInAppMessagingDisplay.java:14)
at android.app.Activity.runOnUiThread(Activity.java:7178)
at com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplay$4.onSuccess(FirebaseInAppMessagingDisplay.java:89)
at com.squareup.picasso.ImageViewAction.a(ImageViewAction.java:31)
at com.squareup.picasso.Picasso.a(Picasso.java:28)
at com.squareup.picasso.Picasso.a(Picasso.java:50)
at com.squareup.picasso.Picasso$1.handleMessage(Picasso.java:81)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:213)
at android.app.ActivityThread.main(ActivityThread.java:8178)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101)
Steps to reproduce:
I can give you all devices which were affected, and maybe it can be helpful for you: 33% - Galaxy S10e 17% - Galaxy S20 Ultra 5G 17% - Galaxy S20 17% - P30 Pro 16% - HUAWEI P smart 2019
Relevant Code:
Nothing to share, it was implemented according to your documentation.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:22 (7 by maintainers)
Top Results From Across the Web
Temp mail service - Inbucket/Inbucket - IssueHint
160996413 : Firebase IAM(In-App Messaging) Crash 💣 BUG, 22, 2020-06-20, 2022-10-17 ; Consider using custom expectation messages in CFML/Testbox, 3, 2020-01-26 ...
Read more >qBittorrent (F) Force Resume seeding not honoured when Share ...
Elasticsearch requires at least: vm.max_map_count = 262144 160996413: Firebase IAM(In-App Messaging) Crash 💣 BUG - Java firebase-android-sdk Vision: ...
Read more >Height in wallet file does not match block height of the last confirmed ...
160996413 : Firebase IAM(In-App Messaging) Crash 💣 BUG, 22, 2020-06-20, 2022-08-27. Cannot create App plan in sub A for ASEv3 in Sub B,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It seems that this issue is fixed in 19.1.5 as mentioned here : https://firebase.google.com/support/release-notes/android#inappmessaging_v19-1-5
@premacck Thank you for notice, I already reacted there.
@JasonAHeron For the last months we weren’t face with this issue again, nevertheless as I see from the comments above and also duplicating issues such as #1808, probably the bug is still exist. By start of the year we are planing several campaigns which will use the IAM, and the campaigns will be on the big audience, based on those data I will be able to tell you if this bug is still actual for me or not.
Thank you in advance see you next year.
Merry Christmas & Happy New Year to all 🎊.