Skip to content

6.16.0

Choose a tag to compare

@PushwooshCI PushwooshCI released this 09 Oct 09:09
· 3 commits to master since this release

New Features

  • Added feature flags: Pushwoosh.getFeatureFlags() reads flags evaluated by Pushwoosh for the device and user from a local cache, without blocking on the network. The SDK keeps the cache fresh on its own; refresh() requests new values on demand, addUpdateListener() reports changes, and logImpression() records which branch the user was shown
    PushwooshFeatureFlags flags = Pushwoosh.getInstance().getFeatureFlags();
    boolean newCheckout = flags.isEnabled("new_checkout", false);
    flags.logImpression("new_checkout");
  • Added PushwooshFcmRouterService in pushwoosh-firebase for apps that handle their own FCM messages next to Pushwoosh. Extend it instead of FirebaseMessagingService: Pushwoosh messages and token updates are forwarded to the SDK automatically, and every other message arrives in onAppMessageReceived()
    public class AppMessagingService extends PushwooshFcmRouterService {
        @Override
        protected void onAppMessageReceived(@NonNull RemoteMessage message) { /* your messages */ }
    }
  • The SDK now checks the FCM integration at startup and logs a warning when Pushwoosh messages cannot reach it, for example when another FCM service in the app takes them over

Improvements

  • PushwooshInboxStyle colors in pushwoosh-inbox-ui now apply independently and match iOS: toolbar colors no longer depend on backgroundColor, and clearColors() also resets the toolbar colors
  • setUser() now refreshes the inbox once per call