Reputation: 13821
I'm currently evaluating different alternatives to integrate my iOS app with Facebook. Since I'll be porting the app to Android later, Xamarin.Social seems like an interesting alternative. However, the documentation is a little sparse, and judging by the amount and relevance of my Google searches, there doesn't seem to be a lot of experience with it.
From what I have gathered so far, it seems that Xamarin.Social, and Xamarin.Auth which it depends on, have it's own AccountStore
for storing Facebook (and other social services) accounts that integrates with the iOS KeyChain, which leads me to my qestions:
AccountStore
and the native ACAccountStore
integrated in any way? Or does it even wrap all of the native Facebook APIs?Edit:
Another question. What use had the RedirectUrl
property of the FacebookService
, if I'm using GetAuthenticationUI
to present the login view?
Thanks for your input.
Upvotes: 2
Views: 2741
Reputation: 13821
After playing around with it for a while, here are my findings:
Unfortunately, the UI looks terrible compared to the native UI. But it does work, so if the looks is not that important, it seems like a viable cross platform alternative.
Update
Later versions have a Twitter5Service
that integrates with the iOS Social Framework. But none of the other services uses any native authentication and share UIs.
Upvotes: 1
Reputation: 472
ACAccountStore is wrapped on top of Account, so yes,
https://github.com/xamarin/Xamarin.Auth/blob/master/src/Xamarin.Auth.iOS/ACAccountWrapper.cs
You will see it stores 3 keys, Username, Expires and Token value.
Upvotes: 0