Login and register not working on phone

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By shanoorahmedhojai

I have been working on an Android game. I added register and login functionality using API and firebase. It works fine while testing on my laptop but when i export it as apk, it doesn’t work.

Do you get any error messages?

exuin | 2021-03-16 18:12

No, because when I am working on the app and testing on my laptop, it works perfectly fine. It connects with the database and everything. But when I export it as an apk file for android and install it on any phone, the login and register functionality doesn’t work. I also tested it by exporting it for Windows and Mac OS and it works fine there, which means the code is working fine. It’s just that it doesn’t work on android platform, for which I actually intended the game to be. Do I need to make any changes with the export to android? I just can’t figure it out.

shanoorahmedhojai | 2021-03-16 21:22

Hello, I was having the same problem, do you managed to solve it somehow?