Hi,
The function for gpgs events not working the app keep on crashing. when I load the list of events from google play using “gpgs.events.load” my app crash, and the “gpgs.events.increment” didn’t have a listener to determine if it is done on sending data on google play game service.
Thanks,
Marlon
local function dsp_events(event)
local str=""
if not event.isError then
if (#event.events > 0) then
for i=1, #event.events do
str = str … event.events[i].name … “\n”
str = str … event.events[i].steps … “\n”
end
end
native.showAlert("", str, {“OK”})
else
native.showAlert("", “Unable retrieve events!”, {“OK”})
end
end
gpgs.events.load( {eventIds={“CbjIyL8s9sKHCAQQFk”,“CbjIyL7s2sKHCBQEFh”}, reload=true, listener=dsp_events} )