removeAllPushNotificationsFromDeviceWithPushToken

expect abstract fun removeAllPushNotificationsFromDeviceWithPushToken(pushType: PNPushType, deviceId: String, topic: String? = null, environment: PNPushEnvironment = PNPushEnvironment.DEVELOPMENT): RemoveAllPushChannelsForDevice

Disable push notifications from all channels registered with the specified RemoveAllPushChannelsForDevice.deviceId.

Parameters

pushType

Accepted values: FCM, APNS2. @see PNPushType

deviceId

The device ID (token) to associate with push notifications.

environment

Environment within which device should manage list of channels with enabled notifications (works only if pushType set to PNPushType.APNS2).

topic

Notifications topic name (usually it is bundle identifier of application for Apple platform). Required only if pushType set to PNPushType.APNS2.