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

I get onDisconnected() callbacks right away (Godot 3.11) #8

Open
anisc opened this issue Jul 4, 2019 · 2 comments
Open

I get onDisconnected() callbacks right away (Godot 3.11) #8

anisc opened this issue Jul 4, 2019 · 2 comments

Comments

@anisc
Copy link

anisc commented Jul 4, 2019

Could you please give some pointers ?

07-04 14:30:11.153 I/godot (23552): Loading Android module: org/godotengine/godot/GodotPlayGameServices
07-04 14:30:11.158 I/godot (23552): Loading Android module: org/godotengine/godot/GodotAdMob
07-04 14:30:11.178 I/godot (23552): OpenGL ES 3.0 Renderer: Adreno (TM) 540
07-04 14:30:11.494 D/gpgs (23552): Instance ID [0]: 1099
07-04 14:30:11.494 D/gpgs (23552): Instance ID [1]: 1099
07-04 14:30:11.494 D/gpgs (23552): Instance ID [2]: 1099
07-04 14:30:11.494 D/gpgs (23552): Instance ID [3]: 1099
07-04 14:30:11.494 D/gpgs (23552): Instance ID [4]: 1099
07-04 14:30:11.496 D/gpgs (23552): Client()
07-04 14:30:11.496 D/gpgs (23552): Creating sign in client with Saved Games functionality
07-04 14:30:11.521 D/godot (23552): GPGS: Network init
07-04 14:30:11.521 I/godot (23552): has singeltn
07-04 14:30:11.521 D/gpgs (23552): signInInteractive()
07-04 14:30:11.542 I/godot (23552):
07-04 14:30:11.607 I/godot (23552): 0
07-04 14:30:16.814 D/gpgs (23552): onDisconnected()

func _ready(): if Engine.has_singleton("GodotPlayGameServices"): gpgs = Engine.get_singleton("GodotPlayGameServices") gpgs.init(get_instance_id(), true) print("has singeltn") pass if score==-1 and gpgs != null: gpgs.signInInteractive()

@takhimi
Copy link

takhimi commented Sep 10, 2019

Anybody have a solution for this ? @anisc ?

@anisc
Copy link
Author

anisc commented Sep 10, 2019

@takhimi it has been a long time but yes the solution is to add the game key to the Google api's and services page (not the console) https://console.developers.google.com/apis/dashboard?pli=1&project=reaction-de5ee&folder=&organizationId=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants