This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
"push.unregister" not really work in iOS #296
Closed
Description
hi @macdonst
I am using PGB cli-5.2.0 with your 1.4.1 verison (Android 4.4.2 and iOS 9.1[13B143])
these are my prosedure
step 1
push.on('registration', function(data)
{
alert(data.registrationId);
});
step 2
push.unregister(successHandler, errorHandler);
function successHandler(result)
{
alert(result);
}
function errorHandler(error)
{
alert(error);
}
well...
when in Android,step 1 will get a "data.registrationId",after it I execute step 2,and execute step 1 again,it will get a "new and different" value
but when in iOS,step 1 will get a "data.registrationId",after it I execute step 2,and execute step 1 again,it still get a "same" value just like step 1
the "successHandler" will all trigger success
is the iOS have a different behavior than Android ?