Hi Scott,
Greetings!
Yes, we support this function in Corona SDK. Please find the below code for the same and let me know if you need any other help from our side:
local userName = "Nick"
local pwd = "********"
local emailId = "nick@shephertz.co.in"
local callBack = {}
App42API:initialize("API_KEY","SECRET_KEY")
local userService = App42API:buildUserService()
local Profile = require("App42-Lua-API.Profile")
local profileObj = Profile:new()
profileObj:setFirstName("Samita")
profileObj:setSex(UserGender.FEMALE)
profileObj:setState("Haryana")
profileObj:setPincode("122001")
profileObj:setCity("Gurgaon")
profileObj:setLastName("Samita")
userService:createUserWithProfile(userName,password,emailId, profileObj,callBack)
function callBack:onSuccess(object)
print("User Profile : "..JSON:encode(object:getProfile()))
print("User Profile First Name : "..object:getProfile():getFirstName())
print("User Profile Sex is : "..object:getProfile():getSex())
end
function callBack:onException(object)
print("Message is "..object:getDetails());
end
Regards,
Himanshu Sharma