Closed jorgenstorlie closed 8 years ago
Thanks for the suggestion. Just changed the depencies and updated the Android implementation.
Is anything else changed?
This code does not work anymore:
CrossPushNotification.Current.Register ();
(the app is 5 mb smaler now)
What issues are you having?
Are you getting the token? On Aug 5, 2015 3:36 AM, "Jørgen Storlie" notifications@github.com wrote:
Is anything else changed?
This code does not work anymore:
CrossPushNotification.Current.Register ();
(the app is 5 mb smaler now)
— Reply to this email directly or view it on GitHub https://github.com/rdelrosario/xamarin-plugins/issues/16#issuecomment-127901096 .
Then I compile I get this error on the code: CrossPushNotification.Current.Register ();
Error CS0103: The name `CrossPushNotification' does not exist in the current context (CS0103) (Contendo.Android)
Using this: using PushNotification.Plugin;
Weird. I tested this before releasing. Try removing the package , adding it again and cleaning the solution. On Aug 5, 2015 6:21 AM, "Jørgen Storlie" notifications@github.com wrote:
Then I compile I get this error on the code: CrossPushNotification.Current.Register ();
Error CS0103: The name `CrossPushNotification' does not exist in the current context (CS0103) (Contendo.Android)
Using this: using PushNotification.Plugin;
— Reply to this email directly or view it on GitHub https://github.com/rdelrosario/xamarin-plugins/issues/16#issuecomment-127949199 .
I have done this a couple of times
The class public class CrossPushNotificationListener : IPushNotificationListener compiles so something is working
Try the newest version of the package just published. Let me know if now works
Succes
Now it require Xamarin.GooglePlayServices, the lates version is very big
It may be better to just use requierd packages: http://redth.codes/Xamarin-Google-Play-Services-Improvements/