CrossGeeks / AzurePushNotificationPlugin

Azure Push Notification Plugin for Xamarin iOS and Android
MIT License
67 stars 34 forks source link

Fix on iOS Platform #47

Closed zainniazi closed 4 years ago

zainniazi commented 4 years ago
  1. Fixes to NSUserDefaults null error by changing InternalToken = null to InternalToken = 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.

zainniazi commented 4 years ago

@rdelrosario Could you please check this PR ? Unregister is crashing on iOS.

rdelrosario commented 4 years ago

Thanks for your contribution again!

I just got the same comments of my review in https://github.com/CrossGeeks/PushNotificationPlugin/pull/143