iOS easyLoginWithTwitterFieldsMapping not creating user.


I’ve had some difficulties getting easyLoginWithTwitterFieldsMapping function to work, but finally I’ve made it. It’s returning famous number 1 as a result and user is being returned in func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject) -> Bool function in AppDelegate. So, if I test something like this in AppDelegate openURL function:

let backendlessService = Backendless.sharedInstance()
let user = backendlessService.userService.handleOpenURL(url)
if user != nil {
success = true

user is there. At least Object of user exists. I can also get it with .userService.currentUser. However, that user doesn’t exist in Backendless database - it simply isn’t created. if I try to update some property of that user, I am getting an error "Server reported an error: FAULT = ‘3073’ [Unable to update user. Id is missing.] <Unable to update user. Id is missing.> "

Any ideas why might this be happening?

Please investigate our sample project (see in attachment). (20.55MB)