Hi, ive already configured gpgs and if i create an android APK release and install on my phone its working correctly, but if i upload and set as internal test or production on playstore, now its published, but gpgs is not connecting im getting this error “sign-in failed: sign_in_required (4)”, but as I said, app installed from adb into my phone connects correctly also i receive achievements
this is screen showing the issue
code on INIT function:
if gpgs then
gpgs.set_callback(gpgs_callback)
gpgs.silent_login()
timer.delay(2, false, function()
if not gpgs.is_logged_in() then
gpgs.login()
end
end)
end
CALLBACK:
local function gpgs_callback(self, message_id, message)
send_debug_message("message:"..tostring(message_id))
send_debug_message("MSG_SIGN_IN: "..tostring(gpgs.MSG_SIGN_IN))
send_debug_message("MSG_SIGN_OUT: "..tostring(gpgs.MSG_SIGN_OUT))
send_debug_message("MSG_SILENT_SIGN_IN: "..tostring(gpgs.MSG_SILENT_SIGN_IN))
send_debug_message("message: "..tostring(message))
send_debug_message("message error: "..tostring(message["error"]))
send_debug_message("message status: "..tostring(message["status"]))
for i,p in ipairs(message) do
send_debug_message("i: "..tostring(i)..", p: "..tostring(p))
end
if message_id == gpgs.MSG_SIGN_IN or message_id == gpgs.MSG_SILENT_SIGN_IN then
if message.status == gpgs.STATUS_SUCCESS then
send_debug_message("Signed in")
send_debug_message(gpgs.get_id())
send_debug_message(gpgs.get_display_name())
else
send_debug_message("Sign in error!")
end
elseif message_id == gpgs.MSG_SIGN_OUT then
send_debug_message("Signed out")
end
end
THANK YOU ALL