Manos Chorianopoulos

add successCallback when sdk is initialized

......@@ -163,7 +163,10 @@ typedef void (^FailureResponse)(NSURLSessionDataTask * _Nullable task, NSError *
NSLog(@"=== _sharedService: %@", _sharedService );
//Launch Once
if (_sharedService != nil) {
// TODO: Maybe add failure callback here? - msg: "already launched"
NSDictionary* successCallback = [[NSMutableDictionary alloc] init];
[successCallback setValue:@1 forKey:@"status"];
[successCallback setValue:@"success: already launched" forKey:@"msg"];
success(successCallback);
return;
}
......