ESTCloudManager isAuthorized always returns TRUE

Trying to determine why this Obj-C code snippet always returns TRUE (1) even when I change my appID and/or appToken. It seems I can use any values for setupAppID or andAppToken and isAuthorized will always return 1. Am I missing something here?

[ESTCloudManager setupAppID:@"my-app-name" andAppToken:@"my-app-number"];
BOOL isAuthorized = [ESTCloudManager isAuthorized];
NSLog(@"Authorized?: %i", isAuthorized);


Solved. The definition of isAuthorized is, “Checks if App ID and App Token were set.” It’s not checking to see if the ID and token are valid, it’s checking for non nil.

1 Like