unregisterDevice static method
Unregisters the device from receiving push notifications from DevRev.
@param deviceID A unique device ID. This should be either an identifier unique to your system, or the app vendor
identifier i.e. Android ID (Settings.Secure.ANDROID_ID) for Android and IDFV (UIDevice.identifierForVendor) for iOS, or Firebase installation ID.
@see {@link https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor/ UIDevice.identifierForVendor} @see {@link https://developer.android.com/reference/android/provider/Settings.Secure#ANDROID_ID Settings.Secure.ANDROID_ID} @see {@link https://firebase.google.com/docs/projects/manage-installations#monitor-id-lifecycle Firebase installation ID}
Implementation
static Future<void> unregisterDevice(String deviceID) {
return DevRevSDKPlatform.instance.unregisterDevice(deviceID);
}