Coder Social home page Coder Social logo

Comments (8)

ntrogh avatar ntrogh commented on August 11, 2024

What version of the Microsoft.Azure.Mobile.Client NuGet package are you using? v3.1.0 should fix this for Windows and iOS. Android is still not fixed and will require the Google SDK to be used client-side.

from xamarinalliance.

MasDevProject avatar MasDevProject commented on August 11, 2024

@ntrogh thank you for reply.
I'm using the v3.1.0.

This is my platform specific authenticate method: (AppDelegate.cs)

public async Task<bool> Authenticate()
{
    var success = false;

    try
    {
        user = await CharacterService.Client.LoginAsync(UIApplication.SharedApplication.KeyWindow.RootViewController, MobileServiceAuthenticationProvider.Google);

        success = user != null;
    }
    catch (Exception ex)
    {
        // TODO handle UI
    }

    return success;
}

from xamarinalliance.

ntrogh avatar ntrogh commented on August 11, 2024

Checking with Mobile Apps SDK team.
In the meantime you could switch to an other provider (FB or Twitter) or use the Google SDK for auth and pass the access token to the MobileServiceClient.

from xamarinalliance.

MasDevProject avatar MasDevProject commented on August 11, 2024

Using Facebook I get the following error:
Facebook login this app is still in development mode...

Using Twitter it works but using https://xamarinalliancesecurebackend.azurewebsites.net as service, I get a 500 Internal Server Error when I try to get the Characters list.

from xamarinalliance.

ntrogh avatar ntrogh commented on August 11, 2024

Issues with Twitter and Facebook should be fixed now.

from xamarinalliance.

MasDevProject avatar MasDevProject commented on August 11, 2024

I can confirm. Facebook and Twitter work fine.
Google still has the same problem.

from xamarinalliance.

ntrogh avatar ntrogh commented on August 11, 2024

For Google, there is indeed still a problem - I'm checking this with the Azure Mobile App SDK team.
Thanks for confirming Twitter and FB work ok.

from xamarinalliance.

ntrogh avatar ntrogh commented on August 11, 2024

Problem is linked to an issue in Xamarin.Auth. For Android I have not yet found a workaround, but for iOS you can check this.

from xamarinalliance.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.