-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firebase IAM(In-App Messaging) Crash 💣 BUG #5567
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hey @pom1004, thanks for reaching out. I noticed that in the stacktrace it looks like you're loading an image with a URL |
@argzdev |
Ah that is an interesting point, I was going to recommend using the image upload might help with the issue. But if the issue is still occurring even with this setup then there's definitely something wrong here. Let me bring this up to our engineering sync and see if we can get some feedback regarding this. |
Upon further investigation, this issue might be fixed with #5504. I'll reach out to our engineers and see if this is a plausible fix for this. |
@argzdev thanks for the follow up. Based on you experiences, do you know how long usually it would take for the fixes to be released? Because I need to plan for alternative solution for the business as it is impacting the users. |
We expect merged fixes to be in a release that is targeted for next week. However, in this case, the fix has yet to be validated and merged by our engineer. Our engineers haven't replied yet but let me see if we could it merged before the code freeze date. |
@argzdev just to update to prevent ticket auto closed, did the fixes in the targeted release last week? |
Hey @winsontan520, thanks for bringing this up again. Given the scenario that there's no clear steps to reproduce this behavior, currently, our tests are unsuccessful, and we are unable to verify and merge this fix. That said, could you try testing out the fix on your end and see if it works? You'll be able to do this by cloning the SDK, applying the code fix, and then publishing a snapshot of the repository. This will allow you to have a local copy of the SDK that you can add as a dependency in your app. |
@argzdev I am using com.google.firebase:firebase-bom:32.0.0 how can i checkout this version from this repo? |
any update for this issue? |
Basic info:
Android Studio version: Android Studio Giraffe | 2022.3.1 Patch 4
Firebase Component: In-App Messaging
Component version: firebase-bom:32.3.1
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:
Caused by android.view.WindowManager$BadTokenException
Unable to add window -- token null is not valid; is your activity running?
android.view.ViewRootImpl.setView (ViewRootImpl.java:1395)
android.view.WindowManagerGlobal.addView (WindowManagerGlobal.java:411)
android.view.WindowManagerImpl.addView (WindowManagerImpl.java:150)
com.google.firebase.inappmessaging.display.internal.FiamWindowManager.show (FiamWindowManager.java:67)
com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplay$4$4.run (FirebaseInAppMessagingDisplay.java:416)
android.app.Activity.runOnUiThread (Activity.java:7620)
com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplay$4.onSuccess (FirebaseInAppMessagingDisplay.java:412)
com.google.firebase.inappmessaging.display.internal.FiamImageLoader$Callback.onResourceReady (FiamImageLoader.java:157)
com.google.firebase.inappmessaging.display.internal.FiamImageLoader$Callback.onResourceReady (FiamImageLoader.java:135)
com.bumptech.glide.request.SingleRequest.onResourceReady (SingleRequest.java:631)
com.bumptech.glide.request.SingleRequest.onResourceReady (SingleRequest.java:575)
com.bumptech.glide.load.engine.EngineJob.callCallbackOnResourceReady (EngineJob.java:158)
com.bumptech.glide.load.engine.EngineJob$CallResourceReady.run (EngineJob.java:424)
android.os.Handler.handleCallback (Handler.java:958)
android.os.Handler.dispatchMessage (Handler.java:99)
android.os.Looper.loopOnce (Looper.java:205)
android.os.Looper.loop (Looper.java:294)
android.app.ActivityThread.main (ActivityThread.java:8177)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:552)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:971)
Steps to reproduce:
I can give you all devices which were affected, and maybe it can be helpful for you:
57% - Samsung
15% - Google
10% - Motorola
9% - Xiaom
9% - Other (3)
[4% - Sanmu - FIH Foxconn
3% - LGE
2% - TCT Mobile Limited (Alcatel)]
Relevant Code:
Nothing to share, it was implemented according to your documentation.
The text was updated successfully, but these errors were encountered: