Issue with wixUsers.promptLogin() on mobile

Using the code below for a login button … when I login on PC, the code executes properly and shows “code executed at B” in #txtTitle. However, when I login on mobile, it goes to error and shows “code executed at C” in #txtTitle. Please help, this feels like a bug as it used to work on various websites of mine.

export function btnLogin_click(event) {
wixUsers.promptLogin( {“mode”: “login”} )
.then( (user) => {
let userId = user.id;
$w(“#txtTitle”).text = “Code executed A”;
return user.getEmail();
} )
.then( (email) => {
let userEmail = email;
$w(“#txtTitle”).text = “Code executed B”;
} )
. catch ( (err) => {
$w(“#txtTitle”).text = “Code executed C”;
} );
}

I’m experiencing similar problems on two of my sites. And I’m fairly sure they were working previously. There seems to be a few problems recently reported with mobile but Wix doesn’t seem to be doing anything about it.