Xamarin.Auth with Xamarin Studio Starter Edition?

I'm trying to play around with Xamarin.Auth with the Starter edition, currently with Android on my Windows 8 box. I've added the Xamarin.Auth component, but even with all the Auth calls commented out, I'm receiving...

"Your app is using a type that requires Xamarin.Android Indie editor or higher.

Your app is using the type 'Android.Runtime.JNIEnv'."

Do I need to shell out to play? I did find [joesauve.com/using-xamarin-auth-with-xamarin-forms/](a blog describing how to use OAuth with Xamarin.Forms), but the irony there is, of course, that Xamarin.Forms requires Indie+ too. Using the 30 day trial would be an option, but I really only get 4-8 hours a weekend to play, which is barely time to get stuff sorted out.

I might try, as that blog suggests, using Xamarin.Auth from the source, but not sure if that's going to cause the same trouble. Worth mentioning that I'm really more interested in iOS, but my laptop is Windows 8, thus the Android play right now.


  • rufworkrufwork USMember ✭✭

    Fwiw, apparently not a requirement on iOS. It's building fine there. ?? I'm doing a single view application with this code in the ViewDidLoad method:

        public override void ViewDidLoad()
                // Perform any additional setup after loading the view, typically from a nib.
                var button = new UIButton(new Rectangle(0,0,100,100));
                button.BackgroundColor = UIColor.Red;
                button.SetTitle("Click me", UIControlState.Normal);
                button.TouchUpInside += delegate {
                    Console.WriteLine("inside scroll button clicked");
                    var auth = new OAuth2Authenticator (
                        clientId: "[what I just got for Facebook at https://developers.facebook.com/apps]",
                        scope: "",
                        authorizeUrl: new Uri ("https://m.facebook.com/dialog/oauth/"),
                        redirectUrl: new Uri ("http://www.facebook.com/connect/login_success.html"));
                    auth.Completed += (sender, eventArgs) => {
                        DismissViewController (true, null);
                        if (eventArgs.IsAuthenticated) {
                            // Use eventArgs.Account to do wonderful things
                    PresentViewController (auth.GetUI (), true, null);
                View.Add (button);

    So, again, on iOS on Xamarin Studio for Mac Starter Edition, everything's happy.

Sign In or Register to comment.