-
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
[In-App Messaging] DisplayErrorListener won't be triggered while displaying error in-app messaging. #5644
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @ione0213, thank you for reaching out. I tried reproducing the issue, however, I’m quite having a trouble with step no 2 you shared.
Can you share with me how you were able to use an unsupported image? If possible, could you share the image you used? Currently, the image URL link must be a valid HTTPS URL. Only .png and .jpg image formats are supported with 3:2 and/or 1:1 aspect ratio. Aside from that, could you try using the latest SDK version and see if the issue persists? If so, can you share an MCVE or code snippet? |
@lehcar09 You can create a non-jpeg file(e.g. .log, .txt, or others...). Modify its' filename extension from .log/.txt/... to .jpg. We've tried using the latest SDK version( |
Hi @ione0213, thank you for providing the details. I was able to reproduce the issue you reported. With that, I'll inform our engineers and check what we can do here. |
…#5719) Changed `GlideErrorListener` to a normal class and pass a new instance of the listener into each load image request instead of being injected as a defaultRequestListener. Refactored `InAppMessage` and `FirebaseInAppMessagingDisplayCallbacks` assignment code for clarity. Internal tracking: b/321732964 Issue: #5644
…#5719) Changed `GlideErrorListener` to a normal class and pass a new instance of the listener into each load image request instead of being injected as a defaultRequestListener. Refactored `InAppMessage` and `FirebaseInAppMessagingDisplayCallbacks` assignment code for clarity. Internal tracking: b/321732964 Issue: #5644
The fix has been rolled out on BOM version 32.8.0. Kindly update to version BOM 32.8.0 or latest. I'll go ahead and close this issue now. If you encounter any issue, you can file new issue with the details to help is investigate the issue. Thanks! |
[READ] Step 1: Are you in the right place?
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
DisplayErrorListener won't trigger while displaying error in-app messaging.
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
We found while the function
onLoadFailed
was accessed, the inAppMessage and displayCallbacks objects are always null.Hence DisplayErrorListener will never be triggered.
Relevant Code:
The text was updated successfully, but these errors were encountered: