Closed zainniazi closed 4 years ago
@rdelrosario Could you please check this PR ? Unregister is crashing on iOS.
Thanks for your contribution again!
I just got the same comments of my review in https://github.com/CrossGeeks/PushNotificationPlugin/pull/143
Fixes to NSUserDefaults null error by changing
InternalToken = null
toInternalToken = string.Empty
Problem: #https://github.com/CrossGeeks/PushNotificationPlugin/issues/80
This PR handles the default NSDictionary to string behavior which generates a non easily parse-able string.
{\n destination = {\n section = notifications;\n type = none;\n uri = "";\n
};\n
}
Current code will convert it to json so it can be parsed upon opening or receiving.