When i register a user with the following code the commented out properties still appear in the record, but the “alwaysSharePost” property that is not commented out
doesnt show in the record.
BackendlessUser user = new BackendlessUser();
user.setProperty(“stateOfResidence”, state);
user.setProperty(“region”, region);
user.setProperty(“name”, name);
user.setProperty(“phone”, phone);
user.setProperty(“email”, email);
user.setPassword(password);
// user.setProperty("defaultSearchString", "Car");
// user.setProperty("localSearchRadius", "Small");
// user.setProperty("defaultPostingScreen", "None");
// user.setProperty("shakeSensitivity", "Medium");
user.setProperty("alwaysSharePost", true);
// user.setProperty("smsAlert", false);
// user.setProperty("emailAlert", false);
Backendless.UserService.register(user, new AsyncCallback<BackendlessUser>() {
public void handleResponse(BackendlessUser registeredUser) {
// user has been registered and now can login
Intent intent = new Intent(getApplicationContext(), LoginActivity.class);
startActivity(intent);
}
public void handleFault(BackendlessFault fault) {
}
});