To be counted as "push notification enabled with" under the segment conditions, the call to "PlayFabClientAPI.RegisterForIOSPushNotification" must succeed. How do I get out of the "push notification enabled with" count after a successful call to "PlayFabClientAPI.RegisterForIOSPushNotification"? I expected that if I intentionally fail the "PlayFabClientAPI.RegisterForIOSPushNotification" call, it would be removed from the count, but I couldn't figure out how to do that. How can I make the "PlayFabClientAPI.RegisterForIOSPushNotification" call fail?
The following process succeeded even though the device token was not filled in.
var request = new RegisterForIOSPushNotificationRequest
{
DeviceToken = req.DeviceToken
};
PlayFabClientAPI.RegisterForIOSPushNotification(request,
result =>
{
Debug.Log("Push Registration Successful");
},
error =>
{
Debug.Log(error.GenerateErrorReport());
});