rdelrosario / xamarin-plugins

Cross platform Xamarin & Windows plugins for PCLs
MIT License
179 stars 161 forks source link

Fix iOS implementation so creates same JObject as Android #37

Closed charri closed 8 years ago

charri commented 8 years ago

when using your plugin, I noticed that the same payload on Android would be "serialized" differently in iOS (nested dictionaries). The best way is to convert the NsDictionary to json (NSJsonSerialization) and parse it with the JObject. I also added an extra check when adding keys directly from the aps dictionary as the key may already be present.

rdelrosario commented 8 years ago

@charri Just released a new NuGet package with your change. Let me know if works fince

charri commented 8 years ago

we've had the package in production for a week now. looks good!