-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error after updating #104
Comments
I am having the same kind of compatibility issues with Xamarin.Android.Support.v4 (version 24.2.1). Could you try if it works with GooglePlayServices version 27.0.0.0? |
I gave up, easier to just add the code myself |
I did some more testing and this plugin is not compatible with Xamarin.GooglePlayServices version 32.961. The latest Xamarin.GooglePlayServices version you can use is either 27.0.0.0 or 29.0.0.2. I am having the same issue while upgrading to MvvmCross4: MvvmCross4 needs Xamarin.Android.Support.v4 version 24.x.x but Xamarin.GooglePlayServices.GCM version 29.0.0.2 is not compatible with Xamarin.Android.Support.v4 version 24.x.x, it needs Xamarin.Android.Support.v4 version 23.x.x. So in order to upgrade to MvvmCross4 I need to upgrade Xamarin.GooglePlayServices.GCM to version 32.961, and to do that this plugin needs to be compatible with Xamarin.GooglePlayServices.GCM to version 32.961. Oh boy... @rdelrosario : Are there any plans to upgrade to Xamarin.GooglePlayServices.GCM version 32.961? Obviously this will be a breaking change for Android... |
Ps. @rdelrosario : Could you add the latest nuspec to the project so I can create the package and test it myself? |
Try this version: https://www.nuget.org/packages/Xam.Plugin.PushNotification/1.2.5-beta |
@rdelrosario Thanks for the beta update. I have tested this and it works. |
using version 1.2.4
using GooglePlayServices version 32.961
I get this error after updating:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: Error: Error executing task LinkAssemblies: error XA2006: Reference to metadata item 'Android.Gms.Gcm.Iid.InstanceID Android.Gms.Gcm.Iid.InstanceID::GetInstance(Android.Content.Context)' (defined in 'PushNotification.Plugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null') from 'PushNotification.Plugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' could not be resolved. (Contendo.Android)
Should the plugging work or is it an other solution?
The text was updated successfully, but these errors were encountered: