ajones05 / seearound.me-ionic

0 stars 0 forks source link

Facebook login not working on certain Android devices #168

Closed ajones05 closed 7 years ago

ajones05 commented 7 years ago

It works fine on a Nexus 5 I have been testing with, but a friend using a Google Pixel XL, running Android 7.1.1 had an issue and sent this video: https://www.dropbox.com/s/j71csk4wd4d4l5z/Facebook%20login%20fail%20Android.mp4?dl=0 Any idea why this might happen?

abdulhafeez commented 7 years ago

Is that link to the video correct? Its not loading. I get white page when I click the link.

ajones05 commented 7 years ago

Yes it's correct. I just checked it - if you still can't open it, I can upload again and share a new link. image

abdulhafeez commented 7 years ago

Not opening for me ... not sure why

ajones05 commented 7 years ago

maybe it's file type? All videos I've uploaded have been .mov files, but this was made with android and is .mp4 - maybe download it and try vlc player if it's not opening?

abdulhafeez commented 7 years ago

At least the page should open but it just keeps trying to load.

ajones05 commented 7 years ago

Here's a new upload: https://www.dropbox.com/s/8p2pw25rdfcwxuj/FB%20login%20fail%20-%20Android.mp4?dl=0

abdulhafeez commented 7 years ago

Ok, the video finally loaded. I am trying to see what is wrong.

abdulhafeez commented 7 years ago

It is difficult to tell what is happening so I am adding some alerts to try to see the error message. I am uploading an apk. Please ask the user to install it and then try to login with facebook from home page. They will see some alert messages. Please ask them to take a screen shot of each and show me.

ajones05 commented 7 years ago

OK will do - will you send the APK to me on upwork?

abdulhafeez commented 7 years ago

Here is the apk: https://www.dropbox.com/s/8g8ai98yyeie0xe/sam-debug.apk?dl=0

ajones05 commented 7 years ago

Here's a new video from him with the new APK and showing the different alerts: https://www.dropbox.com/s/kpjmgju2ggf7om6/FB%20login%20not%20working%20with%20alerts.mp4?dl=0. He said fails on the Nexus 6P, too.

Here are screenshots I took from the video in case that's all you need

  1. image

  2. image

  3. image

  4. image

  5. Now it looks like has worked, but then returns to the login page image

abdulhafeez commented 7 years ago

Thanks a lot! That is good progress. We have to repeat it once more with a new apk which I'll be giving you today.

abdulhafeez commented 7 years ago

Here is the new apk: https://www.dropbox.com/s/dgfjms3j347zofm/sam-debug.apk?dl=0

Please repeat the test and give me the screen shots of the alerts you see.

ajones05 commented 7 years ago

OK I shared it with him

ajones05 commented 7 years ago

Here's the video on dropbox, but screenshots are below and probably all you need: https://www.dropbox.com/scl/fi/mv7qzvmqdj6bhm35fw99v/2017_01_26_10_38_21.mp4

1. image

  1. image

  2. image

  3. back to login page like nothing happened

abdulhafeez commented 7 years ago

Thanks! Now the question is, why it thinks that the user cancelled the dialogue?

abdulhafeez commented 7 years ago

Just to make sure, is the user getting these alerts (or any of them) twice?

ajones05 commented 7 years ago

No. From the video he sent, he only gets each of them once. He hits OK for each one, and then it brings him back to the login screen

abdulhafeez commented 7 years ago

As an experiment, can you ask the user to completely remove the app along with its data and then install again and see what happens?

ajones05 commented 7 years ago

which version? The one on the app store or the latest APK with tests?

abdulhafeez commented 7 years ago

Install the one with alerts.

ajones05 commented 7 years ago

OK

abdulhafeez commented 7 years ago

If the above experiment doesn't resolve the issue, here is another one to try:

  1. Login with email and password.
  2. Logout from side menu (This will logout from FB as well)
  3. Now try to login with facebook

Reason to do this experiment is that I suspect the user already has an FB session but somehow, the status is showing 'unknown'. If the user can login successfully after the above steps, I'll then think about some fix but lets confirm the problem first.

ajones05 commented 7 years ago

I will let you know what he says. I think he is sick of testing and ignoring me for now...

ajones05 commented 7 years ago

This is the error that came up when he tried to login with FB after logging in / out from email. img_4741

abdulhafeez commented 7 years ago

Thanks! I have fixed it on FB app. Please ask the user to login with FB now. The actual app without alerts should also be working now.