You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: on FIRIAMDisplayCheckOnAnalyticEventsFlow 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 text Test 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:
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 messageTriggered:parameters: not getting called. So the bug happens on the analytics side before it reaches the in-app messaging SDK.
[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: