I am trying to run your Coroa SDK sample app called App42 Leaderboard sample. When I compile and run and type in a username and password and touch 'login' it crashes with the error messages below.
2014-09-16 19:05:05.164 Corona Simulator[5234:707] Runtime error
/Users/errolsimon/Documents/Corona Apps/App42-LeaderBoard-Sample/App42-Lua-API/Util.lua:159: attempt to call field 'gsub' (a nil value)
stack traceback:
/Users/errolsimon/Documents/Corona Apps/App42-LeaderBoard-Sample/App42-Lua-API/Util.lua:159: in function 'trim'
/Users/errolsimon/Documents/Corona Apps/App42-LeaderBoard-Sample/App42-Lua-API/UserService.lua:139: in function 'authenticate'
/Users/errolsimon/Documents/Corona Apps/App42-LeaderBoard-Sample/login.lua:167: in function '_onEvent'
?: in function '?'
?: in function <?:1381>
?: in function <?:221>