braze-flutter-sdk
braze-flutter-sdk copied to clipboard
Missing information on braze content cards when resending campaign
Whenever we do an edit on a campaign and resend it to the users, the content card information received from the Braze SDK when calling braze.getCachedContentCards()
, it returns the right amount of content cards, however the edited ones are missing all of their information like (see attachted screenshot from visual studio code debugging)
Hi @sam-nixplay,
Can you send an email with more information to [email protected] so we can understand the context around your issue? Please include responses to:
- What was in your campaign originally, and what did you edit it to?
-
getCachedContentCards()
grabs the cached content cards, so it may be out of date. Have you tried usingsubscribeToContentCards()
and then callingrequestContentCardsRefresh()
to ensure that you are getting the up-to-date list of cards? - Attach your campaign(s) to the email so the Support team is able to debug further. Also, include a link to this Github public issue.
Thanks!
I have seen this problem as well from time to time. It's not a matter of using subscribeToContentCards. @hokstuff
Hi @sam-nixplay @0aps,
Based on the screenshot above, it looks like the Content Card is a control
card, which is expected not to have content in the payload. In your campaign, there is an option to turn off the A/B Testing option that sends "Control Group" content cards if you wish to always receive the full content in the payloads. This would also explain why the problem only occurs from time to time
.
Specifically, if you go to the third tab Target
in your campaign, you can turn off the "Control Group" option
I will close out this issue based on ^. After these changes, if you continue to run into issues, please contact our Support team by emailing [email protected]. This will allow for quicker back-and-forth and make it easier to send details specific to your integration.
Thanks!