-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Getting the Error code 13 and user authentication is failing (correct .pem file is downloaded from the dashboard and steps listed in the readme file are followed)
if (data!=nil) {
[[IHSDKCloudUser commandGetSDKUserInstance] commandSDKUserValidationWithLicense:data UserDeviceAccess:^(NSArray *DeviceAccessArray) {
NSLog(@"DeviceAccessArray :%@",DeviceAccessArray);
} UserValidationSuccess:^(UserAuthenResult result) {
if (result==UserAuthen_LoginSuccess || result==UserAuthen_RegisterSuccess|| result==UserAuthen_TrySuccess ) {
[self.bridge.eventDispatcher sendDeviceEventWithName:kEvent_Authenticate_Result body:@{@"access":@1}];
}else{
[self.bridge.eventDispatcher sendDeviceEventWithName:kEvent_Authenticate_Result body:@{@"access":@0}];
}
} DisposeErrorBlock:^(UserAuthenResult errorID) {
// code flow coming here with error code 13
[self.bridge.eventDispatcher sendDeviceEventWithName:kEvent_Authenticate_Result body:@{@"access":@0}];
}];
}
Metadata
Metadata
Assignees
Labels
No labels