subscribeToFeatureFlagsUpdates

Subscribes to Feature Flags events. The subscriber callback will be called when Feature Flags are updated. The subscriber will be called with a FeatureFlagsUpdatedEvent.

Subscriptions should be cleaned up manually by calling IBraze.removeSingleSubscription.

All events are triggered from background threads and isolate any encountered exceptions. If you need to do work on the UI thread in response to an event, you will need to coordinate that in the IEventSubscriber's trigger method.

Parameters

subscriber

A callback that will be executed when Feature Flags are updated.