PushIdentityProvider typedef

PushIdentityProvider = Future<String?> Function(String distinctId, String appId)

Mints a signed identity-verification token for a push subscription request.

Called by the native SDK with the current distinctId and appId. Return null to send the request without an identity token.

Implementation

typedef PushIdentityProvider = Future<String?> Function(
  String distinctId,
  String appId,
);