-
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
In-App Messaging's test message does not include appData
in response (and also not in InAppMessagingDisplayMessage
)
#9126
Comments
I found a few problems with this issue:
|
appData
in response (and also not in FIRInAppMessaging)appData
in response (and also not in InAppMessagingDisplayMessage
)
@zwu52 Any updates on this ? In my use case, I detect custom message type by |
Hi @fumito-ito , |
The SDK fix is merged, but it needs a fix from backend side as well to push this data to the client device. |
filed an internal bug to track the backend issue : b/216496087 |
[REQUIRED] Step 1: Describe your environment
Swift Package Manager
iOS
[REQUIRED] Step 2: Describe the problem
In-App Messaging' message has
appData
property. But it looks alwaysnil
for test message.Steps to reproduce:
displayMessage(:displayDelegate:)
in1.
's App and run the App in Debug modemessageForDisplay.appData
in debug console. It showsnil
.Relevant Code:
There are two causes of this problem.
1.
FIRIAMFetchResponseParser
always ignoresappData
for test messagefirebase-ios-sdk/FirebaseInAppMessaging/Sources/Data/FIRIAMFetchResponseParser.m
Lines 357 to 367 in d28849c
In this code,
FIRIAMFetchResponseParser
looks ignoreappData
for test message.2. In-App Messaging's response does not contain
appData
property for test message.firebase-ios-sdk/FirebaseInAppMessaging/Sources/Flows/FIRIAMMsgFetcherUsingRestful.m
Lines 171 to 173 in 480178b
I found that
appData
also does not be included inresponseDict
for test message. It looks happened every time for test message.The text was updated successfully, but these errors were encountered: