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

update needed? #113

Closed
shayo opened this issue Mar 1, 2017 · 2 comments
Closed

update needed? #113

shayo opened this issue Mar 1, 2017 · 2 comments

Comments

@shayo
Copy link

shayo commented Mar 1, 2017

Trying to add this to a recent project failed.
Update needed?

Attempting to resolve dependencies for package 'Xam.Plugin.PushNotification.1.2.4' with DependencyBehavior 'Lowest'
One or more unresolved package dependency constraints detected in the existing packages.config file. All dependency constraints must be resolved to add or update packages. If these packages are being updated this message may be ignored, if not the following error(s) may be blocking the current package operation: 'Xamarin.Forms 2.3.3.193 constraint: Xamarin.Android.Support.v4 (= 23.3.0)', 'Xamarin.Forms 2.3.3.193 constraint: Xamarin.Android.Support.Design (= 23.3.0)', 'Xamarin.Forms 2.3.3.193 constraint: Xamarin.Android.Support.v7.AppCompat (= 23.3.0)', 'Xamarin.Forms 2.3.3.193 constraint: Xamarin.Android.Support.v7.CardView (= 23.3.0)', 'Xamarin.Forms 2.3.3.193 constraint: Xamarin.Android.Support.v7.MediaRouter (= 23.3.0)'
Unable to resolve dependencies. 'Xamarin.Android.Support.Design 25.1.1' is not compatible with 'Xamarin.Forms 2.3.3.193 constraint: Xamarin.Android.Support.Design (= 23.3.0)'.

@shayo
Copy link
Author

shayo commented Mar 1, 2017

Trying to compile results with the following error:

/Users/shayo/Projects/ClimbTag/PushNotification/PushNotification/PushNotification.Plugin.Android/PushNotificationGcmListener.cs(33,33): Error CS1061: Type Android.App.PendingIntent' does not contain a definition for SetAction' and no extension method SetAction' of type Android.App.PendingIntent' could be found. Are you missing an assembly reference? (CS1061) (PushNotification.Plugin.Android)

        PendingIntent resultPendingIntent = PendingIntent.GetActivity(context, pendingIntentId, resultIntent, PendingIntentFlags.OneShot | PendingIntentFlags.UpdateCurrent );
        resultPendingIntent.SetAction($"{currentMillis}");

@rdelrosario
Copy link
Owner

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

2 participants