firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.69k stars 1.48k forks source link

InAppMessaging - After updating to 5.20.2, InAppMessaging no longer appears #2981

Closed nirazo closed 5 years ago

nirazo commented 5 years ago

[READ] Step 1: Are you in the right place?

Yes

[REQUIRED] Step 2: Describe your environment

[REQUIRED] Step 3: Describe the problem

After updating to 5.20.2, InAppMessaging no longer appears. I used a custom event for the trigger and specified "1 time per device for this campaign" as the display frequency. Event transmission is successful (confirmed with DebugView), but InAppMessaging is not displayed. If you change the display frequency, it will not be displayed as well.

InAppMessaging is displayed correctly if it is not a custom event but a default event (for example, on_foreground event).

It used to use Firebase SDK 5.13.0 before updating it, and was able to display correctly in that version with the same settings.

Thanks in advance!

michalbencur commented 5 years ago

We integrated InAppMessaging only yesterday, with new 6.0.0 release and experience the same bug as describe above.

Campaign triggered on_foreground gets delivered, but campaign triggered by our own event never shows up.

Using Firebase (6.0.0) Using FirebaseAnalytics (6.0.0) Using FirebaseAnalyticsInterop (1.2.0) Using FirebaseCore (6.0.0) Using FirebaseInAppMessaging (0.14.0) Using FirebaseInAppMessagingDisplay (0.14.0) Using FirebaseInstanceID (4.0.0) Using FirebaseMessaging (4.0.0)

christibbs commented 5 years ago

I'm seeing this as well, investigating.

ryanwilson commented 5 years ago

We've tracked down the cause and are working on a fix.

jonameson commented 5 years ago

@ryanwilson any workarounds available while using the latest Firebase libs? We are also having the same issue.

ryanwilson commented 5 years ago

Unfortunately not, but we should have a new release out shortly that fixes the issue. Hang tight!

christibbs commented 5 years ago

This is fixed in the latest SDK update. Run pod update, it should install FirebaseInAppMessaging 0.14.1 where this is fixed.

jonameson commented 5 years ago

Confirmed works! Thank you guys!

nirazo commented 5 years ago

Confirmed works, too! Thank you guys!!!