Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
deftrashu opened this issue Jul 10, 2024 · 21 comments
Open
1 task done

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

deftrashu opened this issue Jul 10, 2024 · 21 comments
Labels
Need a game/precise steps to reproduce the issue The bug is hard to reproduce. More detailed steps or investigation is required.

Comments

@deftrashu
Copy link

deftrashu commented Jul 10, 2024

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
Copy link
Owner

4ian commented Jul 11, 2024

Could you share an APK version of your game?

@deftrashu
Copy link
Author

deftrashu commented Jul 11, 2024

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
Copy link
Owner

4ian commented Jul 11, 2024

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
Copy link
Author

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
Copy link
Owner

4ian commented Jul 11, 2024

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
Copy link
Author

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

@AlexandreSi
Copy link
Collaborator

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
Copy link

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
Copy link

Nader-B10 commented Jul 29, 2024

try add this event
Screenshot 2024-07-29 172949

@deftrashu
Copy link
Author

deftrashu commented Jul 29, 2024

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
Copy link

Nader-B10 commented Jul 29, 2024

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
Copy link
Author

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
Copy link
Collaborator

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
Copy link

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

@ByteJoseph

This comment was marked as off-topic.

@Nader-B10

This comment was marked as off-topic.

@ByteJoseph

This comment was marked as off-topic.

@deftrashu
Copy link
Author

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

@AlexandreSi
Copy link
Collaborator

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
Copy link
Author

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
Copy link
Collaborator

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 AlexandreSi added the Need a game/precise steps to reproduce the issue The bug is hard to reproduce. More detailed steps or investigation is required. label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need a game/precise steps to reproduce the issue The bug is hard to reproduce. More detailed steps or investigation is required.
Projects
None yet
Development

No branches or pull requests

6 participants