Sign in via Google using Firebase. Help with mobile functionality? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Sign in via Google using Firebase. Help with mobile functionality?

So, this works on PC or mobile browser only. Not SL app. Click on the Google icon, it signs you in. https://code.sololearn.com/WbB0AmXmHU31/?ref=app Here's the link for mobile browser testing. https://battler-9d8fc.firebaseapp.com/games/chatBot.html However, loaded in an apk webview, or compiled on SL mobile app, it breaks because it can't open a pop up... Idk how to approach this problem yet, was hoping someone here knew something about firebase and might have some good info for me. Thanks in advance

9th Jul 2017, 9:05 PM
Russel Reeder
Russel Reeder - avatar
3 Answers
+ 5
Apparently it's a standard limitation of Android WebView with third party authentication systems 😕 I found more about this issue on Stackoverflow, though not for Google but for Facebook login, I guess it must be similar: https://stackoverflow.com/questions/12648099/making-facebook-login-work-with-an-android-webview
13th Jul 2017, 11:44 PM
Pao
Pao - avatar
+ 4
https://code.sololearn.com/WGpy0FpMtfTf/?ref=app Here's my new edition, might integrate the two concepts later.
18th Aug 2017, 5:38 AM
Russel Reeder
Russel Reeder - avatar
+ 2
Thanks for the reference
14th Jul 2017, 12:06 AM
Russel Reeder
Russel Reeder - avatar