Bug: Login Prompt doesn't works on Mobile Site

@ohad-laufer @alexander-jdanov

If you try to trigger the login prompt in the doesn’t shows up. But it does on the Website

export function loginBtn_click(event) {
wixUsers.promptLogin()
.then( (user) => {
let userId = user.id; // “r5me-6fem-45jf-djhe-484349”
let isLoggedIn = user.loggedIn; // true
let userRole = user.role; // “member”
return user.getEmail();
} )
.then( (email) => {
let userEmail = email; // “user@something.com
} )
. catch ( (err) => {
let errorMsg = err; // “The user closed the login dialog”
} );
}

Hi Umut,

Does it happen while in mobile preview mode?

Hey Ido, never tried it in preview mode. I think it would work only in live anyway. In the meantime I figured out that it works now (sometimes) depending on existing 500 errors… I keep repeating myself: Wix should publish maintenance hours and services which might be corrupted.

Best,
Umut