-
Notifications
You must be signed in to change notification settings - Fork 51
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
Comments
you can use sharp.comp in Xamarin.Android.
…On 12-Nov-2017 6:38 pm, "Ankit" ***@***.***> wrote:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#62>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAj3GaA9h3XLBKRpSnHX-L3Haz_1CsCbks5s1u3SgaJpZM4Qa3yG>
.
|
Then how am i able to use single code base for all platforms. |
@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. |
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.
The text was updated successfully, but these errors were encountered: