Forum Discussion
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
- Bhavna_09CollaboratorHi Adrian, 
 We built Abridge and we think we can try and solve this issue.
 Happy to connect- adrianlauron-sxCollaboratorThanks 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. - TedScottVisionaryIt'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!
 
 
Related Content
- 7 months ago
- 2 months ago
- 7 months ago