web-maker icon indicating copy to clipboard operation
web-maker copied to clipboard

Login/SignUp does not work on mobile

Open MrCoder opened this issue 7 years ago • 3 comments

Device: iPhone 6S Browsers: Safari / Chrome

Observation: When I click the LOGIN/SINGUP button on the right top corner, nothing happens. It works fine on the desktop. And it also works fine when I use the mobile model on Chrome.

Expectation: It should work as the same as on the desktop.

MrCoder avatar May 12 '18 12:05 MrCoder

Seems like the JS is breaking altogether in iOS and no interaction is working. Will have a look.

chinchang avatar May 17 '18 19:05 chinchang

same problem with chrome on android. https://web-maker-app/firebaseapps.com/__/auth/handler... opens in new tab but tabcloses after a second or so. Sometimes I am able to see the github login page in the tab for a second or so but then the tab closes. For me, this bug is critical, since I cannot signup/login and so I can use webmaker only with local storage.

Is there any workaround?

unoctanium avatar Aug 20 '19 10:08 unoctanium

maybe try this:

function signinGoogle(cb) {
    var provider = new firebase.auth.GoogleAuthProvider();
    // firebase.auth().signInWithPopup(provider).then(function(result) {
    firebase.auth().signInWithRedirect(provider).then(function(result) {
        console.log("Google signin successful")
        // This gives you a Google Access Token. You can use it to access the Google API.
        // var token = result.credential.accessToken;

        // Send user  to rest of program
        cb(token)
    })
    .catch(function(error) {
        logger(error);
    });
}

unoctanium avatar Aug 20 '19 17:08 unoctanium