Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Xamarin.Auth confusion with Xamarin.Forms

$
0
0

Hey guys,

I seem somewhat confused with how something like Xamarin.Auth will fit into a Xamarin.Forms project.

I understand having to create a renderer in iOS and Android for the login and so forth. Thats cool and working. However my problem has to do with the Accounts structure in Xamarin.Auth. Such as I thought I would be able to call Accounts from my main PCL project and it would work fine across all platforms.

However I get a unsupported platform error when running the code, for example running my Forms application for Android. Is this a usual result ? I am confused as to why it wouldnt just use the Android define and run fine if selected Android project to run. Any ideas ?

I mean isnt this why there is a Xamarin.Auth portable library and libraries for iOS and Android so that it is cross platform... Or will this not behave as I would have thought with Forms ?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>