I am following the quick guide and am running into some issues. It is a very simple app and I am not sure where it is going wrong. My application id is:
F1D59C9B-6ED8-1A8C-FF1F-2B29C1427700
And the only thing in my app so far is:
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
String appVersion = "v1";
Backendless.initApp(this, "F1D59C9B-6ED8-1A8C-FF1F-2B29C1427700", "<secret key>", appVersion);
BackendlessUser user = new BackendlessUser();
user.setEmail("testing@gmail.com");
user.setPassword("super secure password");
Backendless.UserService.register(user, new BackendlessCallback<BackendlessUser>() {
@Override
public void handleResponse(BackendlessUser backendlessUser) {
Log.i("Registration", backendlessUser.getEmail() + " sucessfully regsitered");
}
});
}
Which, when run, ends with an exception stating “Version is disabled or provided wrong application info (application id or secret key)”. Any help would be much appreciated.