Game crashes on google play games login

Hi, I’ve been lately trying to get my game to work with the Google Play Games Service, but it’s not going very well, here’s the code:

(Game crashes once I click on the game center button [gameTapped] )

–main.lua

local gameNetwork = require "gameNetwork" gameNetwork.init("google")

–game.lua

gameTapped = function (event) local t = event.target if event.phase == "began" then display.getCurrentStage():setFocus( t ) t.isFocus = true t.y = t.y + 3 t.alpha = 0.8 elseif t.isFocus then if event.phase == "ended" then display.getCurrentStage():setFocus( nil ) t.isFocus = false t.alpha = 1 t.y = t.y - 3 --Check bounds. If we are in it then click! local b = t.contentBounds if event.x \>= b.xMin and event.x \<= b.xMax and event.y \>= b.yMin and event.y \<= b.yMax then playSound("select") gameNetwork.request("login", { userInitiated = false }) gameNetwork.show( "leaderboards" ) gameNetwork.request( "loadScores", { leaderboard = { category="myLeaederboardID", playerScope="Global", timeScope="AllTime", range={1,25} }, listener=requestCallback }) end end end return true end