Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Duplicate Managed type found

$
0
0

Hi,

I am currently using both Windows Azure Mobile Services and Xamarin Authentication and I get this compile error.

Error 1 Duplicate managed type found! Mappings between managed types and Java types must be unique. First Type: 'Xamarin.Auth.AndroidAccountStore/SecretAccount, Microsoft.WindowsAzure.MobileServices.Android, Version=1.0.4.0, Culture=neutral, PublicKeyToken=null'; Second Type: 'Xamarin.Auth.AndroidAccountStore/SecretAccount, Xamarin.Auth.Android, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null'

My question is, why is it internal class for Azure.MobileServices and it is public for Xamarin.Auth, I have not investigate further to the source code on why

EDIT: Further investigation leads me that I can just use Azure to use its auth feature using this

App.MobileService.LoginAsync (MobileServiceAuthenticationProvider.Facebook)
    .ContinueWith (t => { /* t.Result is user */ });

Instead of using the Xamarin.Auth, makes sense now.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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