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

Compatibility with xamarin forms? #62

Open
axcl opened this issue Nov 12, 2017 · 3 comments
Open

Compatibility with xamarin forms? #62

axcl opened this issue Nov 12, 2017 · 3 comments

Comments

@axcl
Copy link

axcl commented Nov 12, 2017

I am creating a chat application. I have successfully added Sharp.XMPP library using Nuget in Xamarin Forms project using Shared Assets cause i came to know that PCL is not supported from one the post on stackoverflow. But i can not use library in my shared code cause i can not reference it there.

@Harisankar
Copy link

Harisankar commented Nov 13, 2017 via email

@axcl
Copy link
Author

axcl commented Nov 13, 2017

Then how am i able to use single code base for all platforms.

@claudiocleberson
Copy link

@axcl , That library won't run inside a PCL, I faced that problem when I tried to use, but that will not be a problem in a Shared project. once you create a Shared project, you can just create a ChatService.cs and handle the chat logic. There others suggestions like create two individual PCL for Android and iOS. but in my case just the share project was enough. be advise though lots of example on the community for xamarin.forms are made on PCL. that was one of the drawbacks. a part from that, I think that library will be useful.
cheers...

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

3 participants