braze-inc / braze-flutter-sdk

Public repo for the Braze Flutter SDK
Other
16 stars 32 forks source link

[Feature]: Content Card synchronous refresh #83

Open mattmapadmi opened 2 months ago

mattmapadmi commented 2 months ago

Would it be possible to have the Content Card refresh method also return the cards or an error? We'd like to show an appropriate screen to our users when the feed is empty, or there's been some kind of network error.

With the current Stream implementation, there's no way to reliably detect these kinds of issues.

hokstuff commented 2 months ago

Hi @mattmapadmi,

Thanks for raising this feature request. Currently, our native SDK APIs don't have a consistent way to return the Cards array or an error, so that means our "Wrapper" SDKs like the Flutter SDK can't do that. In order to implement this request, we will have to holistically update our native SDKs. Please file a product request to our Support team so we can gauge the signal for this request.

Thanks!