Hi.
I am trying to check if the session ticket is still valid. When i make the call, it returns a nil value for AuthenticateSessionTicket.
By the way, i was too limited with Xcode so i switched to Corona SDK which is simpler and more straightforward.
Here is my code.
local loadSessionTicket = loadsave.loadTable("ticketPlayfab.json") print( "Last Playfab Session Ticket:", loadSessionTicket.sessionTicket ) local playfabTicketCheckRequest = { SessionTicket = loadSessionTicket.sessionTicket } PlayFabClientApi.AuthenticateSessionTicket(playfabTicketCheckRequest, function(result) print("User's session still valid: " .. result.PlayFabId) end, function(error) print("User session expired: " .. error.errorMessage) end)