Deregister a Mobile Device for Push Notifications

You can deregister a device that was registered for Catalyst iOS push notifications by passing the required parameters to the deregisterNotification() method as shown below.

    
copy
ZCatalystApp.shared.deregisterNotification(token: e5********21, appID: 1234567, testDevice: true) { error in
if let error = error
{
return print("Error : \( error )")
}
print("UnRegistered successfully")
}

Parameters:

Last Updated 2024-11-12 01:42:48 +0530 +0530

ON THIS PAGE
ACCESS THIS PAGE