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

Xamarin support #24

Closed
ikbenben opened this issue Dec 10, 2016 · 2 comments
Closed

Xamarin support #24

ikbenben opened this issue Dec 10, 2016 · 2 comments

Comments

@ikbenben
Copy link

Hi There,

I'm trying to use this nuget package in Xamarin to integrate Pusher with an Android app I'm working on but I'm not getting much love.

It looks like PusherClient is missing the 'MonoAndroid,Version=v7.0' target. The two dependencies, Websocket4Net and NewtonJson can be installed without any issue.

I'm not sure what is involved to add that. I've never worked on a NuGet package before. Is this something you can change quickly or maybe I can create a Pull Request if I'm pointed in the correct direction

Output from trying to install below:

Attempting to gather dependency information for package 'PusherClient.0.4.0' with respect to project 'Playground.Droid', targeting 'MonoAndroid,Version=v7.0'
Attempting to resolve dependencies for package 'PusherClient.0.4.0' with DependencyBehavior 'Lowest'
Resolving actions to install package 'PusherClient.0.4.0'
Resolved actions to install package 'PusherClient.0.4.0'
For adding package 'PusherClient.0.4.0' to project 'Playground.Droid' that targets 'monoandroid70'.
Install failed. Rolling back...
Package 'PusherClient.0.4.0 : Newtonsoft.Json [9.0.1, ), WebSocket4Net [0.14.1, )' does not exist in project 'Playground.Droid'
Package 'PusherClient.0.4.0 : Newtonsoft.Json [9.0.1, ), WebSocket4Net [0.14.1, )' does not exist in folder '/Users/brooney/projects/xamarin/Playground/packages'
Could not install package 'PusherClient 0.4.0'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v7.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

@mclintprojects
Copy link

mclintprojects commented Jun 6, 2017

@ikbenben Hi, you can try out my PusherDroid library. It's forked from this project but works well for Xamarin Android. Here's it > https://github.com/mclintprojects/PusherDroid

@damdo damdo added the xamarin label Feb 8, 2020
@stale
Copy link

stale bot commented Mar 31, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you'd like this issue to stay open please leave a comment indicating how this issue is affecting you. Thank you.

@stale stale bot added the wontfix label Mar 31, 2021
@stale stale bot closed this as completed Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants