You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Developer should be able to set SDK enabled to false by default so that when users first opens the app, the SDK is disabled instead of enabled (this is separate from SDK initialization/configuration)
The SDK should resume sending events properly after SDK has been enabled after it was initially disabled. Today, no events are received on the dashboard until the app calls again changeUser+requestImmediateDataFlush
enableSDK should be a promise that resolves when the SDK is completely enabled
It would be nice that the developer could be able to know if Braze is actually enabled or not (Braze.getIsEnabled()?)
Actual Incorrect Behavior
Verbose Logs
No response
Additional Information
A bunch of ugly workarounds are possible:
Really complex to accomplish although in theory feasible but you would have to somehow make the initialization later. Haven't looked into it more.
Call changeUser and requestImmediateDataFlush again after enabling Braze and waiting some milliseconds since enableSDK is not a promise.
The very robust setTimeout 🙃
Handle that info on the developer's side, but this is obviously precarious
Thanks
The text was updated successfully, but these errors were encountered:
Which Platforms?
Both
Which React Native Version?
0.74
Which @braze/react-native-sdk SDK version?
13.1.0
Repro Rate
100%
Steps To Reproduce
Hello, this is a general issue
Expected Behavior
Braze.getIsEnabled()
?)Actual Incorrect Behavior
Verbose Logs
No response
Additional Information
A bunch of ugly workarounds are possible:
changeUser
andrequestImmediateDataFlush
again after enabling Braze and waiting some milliseconds since enableSDK is not a promise.Thanks
The text was updated successfully, but these errors were encountered: