-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
InAppMessagingDisplay stops receiving Analytics events when GTM json container is added #4305
Comments
This comment has been minimized.
This comment has been minimized.
@fgulan looking into this. As a temporary workaround you can trigger the message directly via the
|
I debugged this via @fgulan's sample project (needed to create my own project and replace the GoogleService-Info.plist file) and confirmed that the failure point is |
Created internal issue b/145705671 |
Fix implemented for next release. |
Fix released with Firebase 6.14.0 |
[READ] Step 1: Are you in the right place?
I believe I am :)
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
InAppMessagingDisplay stops displaying messages triggered by analytics event when Google Tag Manager is used, more correctly when container JSON file is added to project.
From what I debugged, method
messageTriggered:parameters:
onFIRIAMDisplayCheckOnAnalyticEventsFlow
is not invoked on analytics events when mentioned JSON file is included. Not sure what could be the issue but maybe GTM internally swizzle something or doesn't call super implementation, since if I remove JSON container from project that method is invoked and messages are shown.Steps to reproduce:
I've created example iOS project where you can reproduce the issue: https://github.com/fgulan/fiam-gtm-issue. Google plist and GTM container json are included in project with my test data. Just run the app and you should see the button which triggers analytics event
open_fiam
which should trigger displaying FIAM banner message with textTest FIAM
. But it doesn't since JSON container is added as a reference, just remove it to see the difference.The text was updated successfully, but these errors were encountered: