rdelrosario / xamarin-plugins

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

When i call Unregister the Register doesn't work unless i uninstall and reinstall the app #94

Open buttifabio opened 7 years ago

buttifabio commented 7 years ago

Hi,

my use case is this:

  1. Install app
  2. Call Register => IPushNotificationListener.OnRegistered called => token sent to server
  3. Call Unregister => IPushNotificationListener.OnUnregistered called => token removed from server
  4. Call Register => IPushNotificationListener.OnRegistered not called (OnError neither)

If i reopen the app the Register never works; if i reinstall the app (and get the permission request again) it works.

Am i missing something?

Some information: OS: iOS 10.1.1 PushNotification version: 1.2.4

Thank your for your help

rdelrosario commented 7 years ago

Should be fixed on:

https://www.nuget.org/packages/Xam.Plugin.PushNotification/1.2.5-beta