Skip to content
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

Open
jorgenstorlie opened this issue Jan 17, 2017 · 6 comments
Open

Error after updating #104

jorgenstorlie opened this issue Jan 17, 2017 · 6 comments

Comments

@jorgenstorlie
Copy link

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?

@nielscup
Copy link

nielscup commented Jan 30, 2017

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?

@jorgenstorlie
Copy link
Author

I gave up, easier to just add the code myself

@nielscup
Copy link

nielscup commented Feb 2, 2017

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...

@nielscup
Copy link

nielscup commented Feb 2, 2017

Ps. @rdelrosario : Could you add the latest nuspec to the project so I can create the package and test it myself?

@rdelrosario
Copy link
Owner

@ronakvala
Copy link

@rdelrosario Thanks for the beta update. I have tested this and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants