Hi, it is driving me crazy and I did try several tutorial on this topic.
I always get "not logged in".
In my Object on touch:
In its Async-Social:
I did add the GooglePlayservicesExtension and checked the box for Android-social "activate Google Services".
For "Google-Servives-ID" I did enter the number which was shown directly under my Games-name in Google Play Console.
My Leaderboard there shows:
Nr.: 1
Name: best players
ID: CgXXXXq-P_LXXXXXQ (redacted)
Status: Ready to publish
On the left side of the Google play console everything is checked green, without Game-Info (orange)
and "published" (gray)
I always get "not logged in".
In my Object on touch:
Code:
if os_type == os_android
{
achievement_login();
}
Code:
var ident = ds_map_find_value(async_load, "id");
if ident == achievement_our_info
{
var name = ds_map_find_value(async_load, "name" );
var playerid = ds_map_find_value(async_load, "playerid" );
global.OurName = name;
global.OurId = playerid;
show_message_async(global.OurName); //always shows "not logged in"
if os_type == os_android
{
achievement_load_leaderboard("CgXXXXq-P_LXXXXXQ", 1, 100, achievement_filter_friends_only);
}
else
{
achievement_load_leaderboard("CgXXXXq-P_LXXXXXQ", 1, 100, achievement_filter_friends_only);
}
achievement_get_challenges();
achievement_load_friends();
achievement_load_progress();
}
For "Google-Servives-ID" I did enter the number which was shown directly under my Games-name in Google Play Console.
My Leaderboard there shows:
Nr.: 1
Name: best players
ID: CgXXXXq-P_LXXXXXQ (redacted)
Status: Ready to publish
On the left side of the Google play console everything is checked green, without Game-Info (orange)
and "published" (gray)