braze-inc / braze-flutter-sdk

Public repo for the Braze Flutter SDK
Other
15 stars 29 forks source link

'Braze in app message callback not present' message keeps spawning after subscribing #44

Closed RutgerVleuten closed 1 year ago

RutgerVleuten commented 1 year ago

When moving from the deprecated setBrazeContentCardsCallback towards subscribeToContentCards we keep getting logging about "Braze content card callback not present ...".

I would expect the Stream approach to replace the Callback the message being logged is confusing in this case.

hokstuff commented 1 year ago

Hi @RutgerVleuten,

In your setup that you are seeing this, is it accurate to say that you:

If so, it sounds like the wording from these logs for content cards (and the complementary ones on in-app messages) imply the use of callbacks, even though the functionality replays for both callbacks and streams as expected. We will update the logs to be more generic or remove them entirely if they aren't helpful.

Thanks!

hokstuff commented 1 year ago

Hi @RutgerVleuten,

We have released our Flutter SDK version 4.0.0, which removes the deprecated setCallback functionality. This also removes any confusing logs that would get printed when using replayCallbacksConfigKey alongside subscriptions via streams.

Thanks!