Google Tag Manager

Forum Discussion

adrianlauron-sx's avatar
adrianlauron-sx
Collaborator
5 months ago

iOS Braze SDK and Content Card Data Questions

Hello there! Quite a newbie here in Braze Bonfire.

Hopefully someone knows something about the question I have: We have an iOS mobile app created using Swift and we are in the process of implementing content cards via Braze SDK. What we noticed is Braze SDK didn't have the content card data on our first call to Braze SDK even when I already called the cancellable stated in this documentation. Only when we do further calls to requestRefresh() it is only then we are able to get content card data.

Has anyone experienced this before and is there a way to do it in such a way that when you do a first call to SDK and a first call to requestRefresh() will have the content card data ready for fetching?

Thanks!

3 Replies

  • Hi Adrian,

    We built Abridge and we think we can try and solve this issue.

    Happy to connect

    • adrianlauron-sx's avatar
      adrianlauron-sx
      Collaborator

      Thanks Bhavna. We ended up checking with Braze about this and just implemented some of the workarounds that was advised by our iOS subject matter expert.

      • TedScott's avatar
        TedScott
        Visionary

        It's a bit of a race condition to log someone in, run them through a campaign/canvas and return content before the session/page finishing loading to display the content on the first page.

        Let us know what Braze suggested, what you tried and the results!