wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.96k stars 1.31k forks source link

Magic Link: Chromebook won't let you log in #15000

Open rossanafmenezes opened 3 years ago

rossanafmenezes commented 3 years ago

Expected behavior

I believe the Chromebook is in some kind of limbo here since it's not a mobile device but uses Android and you download the Android app from the Google Store. The log-in using the Magic link option is there, so it's safe to assume the users would think you can log into the Chromebook app using that option.

Actual behavior

But it won't let you log into the app. Instead, it will show this message:

photo_2021-07-06 11 42 28

Steps to reproduce the behavior

Install the WordPress App on a Chromebook Click on the WordPress.com login option Enter your email Select the Magic Link option

Tested on [device], Android [version], WPAndroid [version]

4117628-zen Pixelbook Google Chrome OS 91.0.4472.102 (official build) (64 bit)

Not sure about the user's device, will ask for more info.

thehenrybyrd commented 3 years ago

@rossanafmenezes thanks for reporting! It sounds like the user is trying to use the WP Android app on their Chromebook, rather than on a more traditional mobile device, is that correct?

thehenrybyrd commented 3 years ago

It looks like we're identifying the Chromebook as a laptop rather than an Android device. However, based on a quick conversation with @rossanafmenezes, the WP Android app can be downloaded from the Google Store on a Chromebook (along with most other Android apps) and is expected to act like a mobile app.

@ashiagr or @zwarm can one of you take a look?

rossanafmenezes commented 3 years ago

Yeah, that's right. I'm available to help with testing if needed since I have a Chromebook here.

ashiagr commented 3 years ago

Thanks, @rossanafmenezes! Can you possibly DM (on Slack) the login magic link that you received in the email?

We'll have to see how device detection works for the Chromebook at the API level.