Hey,
I’m having fun with logins and users. I have been googling until my fingers are red trying to figure out how to access a custom user property that I put into Backendless. I am using the code below from the documentation to try and work out. Simply put I can access the data that already exists but the new custom value doesn’t seem to be known. Should I be refreshing the code base from backendless each time I make a change? For the record at the time of trying this I couldn’t download the regeneration code from Backendless server otherwise I would have tried prior to posting this.
BackendlessUser *user = backendless.userService.currentUser;
if (user) {
NSString *userEmail = user.email;
//Custom supplier property added but doesn't recognise.
NSString *userSupplier = user.supplier;
[self retrieveUserEntityProperties];
NSLog(userEmail);
}
else
{
NSLog(@"User hasn't been logged");
}
}