Well, I already have this problem for 4 days, …
What I’ve done so far:
1 - build and compile the project
2 - add plugin GPG
3 - Activated the service in Services of game in google play
4 - I installed the app in strings.xml which looks like this:
<? Xml version = '1.0' encoding = 'UTF-8'?>
<Resources>
<String name = "app_name"> hello_world </ string>
<String name = "google_app_id"> 111111111111111 </ string>
<String name = "service_id"> nearby_service_id </ string> // I do not know what this is! So I left it as it is.
</ Resources>
The service_id value allows client devices to discover the advertising device. The value must uniquely identify your app. As a best practice, use the package name of your app (for example, com.google.example.mygame.service).
The following example shows you how to declare the service_id value in the strings.xml file:
<?xml version="1.0" encoding="utf-8"?>
<resources>
...
<!--
This is the service identifier for Nearby Connections. Do NOT copy and paste this value
into your own application. Instead, choose a unique identifier that is appropriate for
your application.
-->
<string name="service_id"><!-- your service ID goes here, e.g. com.google.example.mygame.service --></string>
...
</resources>
Did you integrate Google GPG Services successfully? I’m trying to integrate it to my Cocos Creator app but I can’t find the documentation for that. Could you help me please?
do you connected to gpg ? i always get the log “GamesNativeSDK: Play Games callback indicates connection failure”.
are you know why happen it ?
how to fix it ?