GDevelop icon indicating copy to clipboard operation
GDevelop copied to clipboard

Android logging in problem,stuck in "logging in" screen.

Open deftrashu opened this issue 1 year ago • 21 comments

Is there an existing issue for this?

Describe the bug

I used cordova format,and android studio to make apk/aab. when i open LOBBY ,its stucked in "Logging in" screen.

Please FIX it

Screenshot_2024 07 06_00 53 47 239

Steps to reproduce

WEB version : https://gd.games/defabc/pong-tv

GDevelop platform

Desktop, Mobile

GDevelop version

5.4.205

Platform info

OS (Android,)

OS Version (e.g. Windows 10,)

Additional context

I think on the problem is : ANDROID dont allowed Pop-up window !

deftrashu avatar Jul 10 '24 19:07 deftrashu

Could you share an APK version of your game?

4ian avatar Jul 11 '24 10:07 4ian

Could you share an APK version of your game? https://drive.google.com/file/d/1jyEGwFRQfkxqXmUAcYPIAi4wdJ7SDGwg/view?usp=sharing here is my apk. I can send to you source files by email too, if you need .

deftrashu avatar Jul 11 '24 13:07 deftrashu

I used cordova format,and android studio to make apk/aab.

Are you using the command line? You're missing some Cordova plugins. You would not have this problem with the GDevelop online build services.

Can you write precisely every single step you've done? Be as precise as you can. You're probably missing a cordova platform add android or need to do it again (after doing a cordova platform rm android) to reinstall plugins.

4ian avatar Jul 11 '24 14:07 4ian

I used cordova format,and android studio to make apk/aab.

Are you using the command line? You're missing some Cordova plugins. You would not have this problem with the GDevelop online build services.

Can you write precisely every single step you've done? Be as precise as you can. You're probably missing a cordova platform add android or need to do it again (after doing a cordova platform rm android) to reinstall plugins.

What kind of plugins I need to work in cordova? before cordova I exported from GDevelop too,but doesnt work multiplayer on android. I used these plugins in cordova: cordova plugin add admob-plus-cordova --save --variable ADMOB_APP_ID="xxx" cordova platform add android

Previous version of Lobby(without Popup window) worked well.

deftrashu avatar Jul 11 '24 15:07 deftrashu

GDevelop already exports a version of your game with the necessary plugin in config.xml. you just need to install them with cordova platform add android and they should be installed. Take a look inside config.xml and package.json

4ian avatar Jul 11 '24 15:07 4ian

Hi 4ian! I exported a template in GDEVELOP to apk file. Same issue that I got. :( Template game : kép kép

deftrashu avatar Jul 16 '24 14:07 deftrashu

Hi @deftrashu, I'm unable to reproduce the issue. It might be an issue with your internet. In which country are you located?

AlexandreSi avatar Jul 22 '24 08:07 AlexandreSi

try add this event Screenshot 2024-07-29 172949

thanks for idea. I will try it soon. Which screen must I use that authentication banner?

deftrashu avatar Jul 29 '24 14:07 deftrashu

hey @Nader-B10 @4ian @AlexandreSi it works, but banner position is terrible place, Can i replace it? In lobby why " Start Game" button is bad place . We need scroll screen to push it.

thanks for helping

deftrashu avatar Jul 29 '24 21:07 deftrashu

The banner position cannot be changed at the moment. We'll see if "Start game" position can be improved, thanks for pointing it out.

AlexandreSi avatar Jul 30 '24 13:07 AlexandreSi

I have the same issue. I export with GDevelop to android and its stuck on the logging in screen.

fizzingpop avatar Aug 14 '24 09:08 fizzingpop

Its time to build an open source Multiplayer system ( no cost extension )

ByteJoseph avatar Aug 30 '24 13:08 ByteJoseph

Its time to build an open source Multiplayer system ( no cost extension )

I don't think they will do that.

I think I can do that

ByteJoseph avatar Aug 30 '24 13:08 ByteJoseph

please test my Android(phone) app: https://play.google.com/store/apps/details?id=com.defabc.pongtv

deftrashu avatar Aug 31 '24 17:08 deftrashu

please test my Android(phone) app: https://play.google.com/store/apps/details?id=com.defabc.pongtv

Hi @deftrashu, I tried your game and I didn't encounter an issue. What is your android device and what is the version of Android you're running?

AlexandreSi avatar Sep 02 '24 13:09 AlexandreSi

please test my Android(phone) app: https://play.google.com/store/apps/details?id=com.defabc.pongtv

Hi @deftrashu, I tried your game and I didn't encounter an issue. What is your android device and what is the version of Android you're running?

it works but Multiplayer UI is terrible i guess. It needs keys/keyboard "Accept/ready/Start" function too. Can you make banners to resizable and movable ? thx

deftrashu avatar Sep 02 '24 17:09 deftrashu

it works but Multiplayer UI is terrible i guess. It needs keys/keyboard "Accept/ready/Start" function too. Can you make banners to resizable and movable ? thx

Ok so now I'm not sure this issue is still relevant. I can't reproduce the issue and there is no example project that reproduces it.

Regarding the UI of the Lobbies screens and so, I recommend you open a new issue explaining with words without judgement why you consider the UI is not good. You can also open a new issue requiring functions explaining the use-case and we'll consider adding it, or contributors could find it useful and do it themselves.

AlexandreSi avatar Sep 03 '24 07:09 AlexandreSi

I have the same issue. Adding the authentication banner did not help.

ZurabJanelidze avatar Jan 13 '25 01:01 ZurabJanelidze

Is there a way to authenticate by opening a html from the game app (which works without issues), logging in and then sending back the login info to the game?

ZurabJanelidze avatar Jan 13 '25 01:01 ZurabJanelidze

It works now in my second release!

ZurabJanelidze avatar Jan 13 '25 02:01 ZurabJanelidze