xamarin-plugins
xamarin-plugins copied to clipboard
[Android] Is it possible to create my own implementation of GcmListenerService disabling the one shipped with this plugin?
I have a Xamarin.Forms project for an iOS/Android app. I correctly installed this plugin
I would like to customize the behavior of the PushNotificationGcmListener
shipped in this plugin, but i can't do it if I use the plugin as a NuGet Package.
What should i have to do?
If i create my own class with extends GcmListenerService
i obtain a doubled push handling? Is there a way to disable the service created by this plugin?
I tried unistalling the NuGet package and importing directly the android code of the plugin (except the PushNotificationGcmListener
class), but i have some problems with assemblies references (CrossPushNotification
, IPushNotificationListener
, ecc). How could import your plugin without NuGet in my Android project only?
Thank you for your help