4ian / GDevelop

🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.
https://gdevelop.io
Other
10.57k stars 842 forks source link

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

Open deftrashu opened 2 months ago

deftrashu commented 2 months ago

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 !

4ian commented 2 months ago

Could you share an APK version of your game?

deftrashu commented 2 months ago

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 .

4ian commented 2 months ago

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.

deftrashu commented 2 months ago

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.

4ian commented 2 months ago

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

deftrashu commented 2 months ago

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

AlexandreSi commented 2 months ago

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

Nader-B10 commented 2 months ago

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

I used your normal cloud export to export the APK and I'm facing the same issue it doesn't open the login window and it gets stuck in this window forever no matter how I close and open the lobby window

WhatsApp Image 2024-07-29 at 06 32 25_3d6e887f

Nader-B10 commented 2 months ago

try add this event Screenshot 2024-07-29 172949

deftrashu commented 2 months ago

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?

Nader-B10 commented 2 months ago

In the first scene where there is a button to open the lobby window..this solved the problem for me Screenshot 2024-07-29 180009

deftrashu commented 2 months ago

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

AlexandreSi commented 2 months ago

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

fizzingpop commented 1 month ago

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

ByteJoseph commented 1 month ago

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

Nader-B10 commented 1 month ago

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

I don't think they will do that.

ByteJoseph commented 1 month ago

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

deftrashu commented 1 month ago

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

AlexandreSi commented 1 month ago

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?

deftrashu commented 1 month ago

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

AlexandreSi commented 1 month ago

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.