Initialization
#import <GizoSDK/GizoSDK-Swift.h>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.moduleName = @"main";
// You can add your custom initial props in the dictionary below.
// They will be passed down to the ViewController used by React Native.
[self initializeGizoSDK:launchOptions];
self.initialProps = @{};
return [super application:application didFinishLaunchingWithOptions:launchOptions];
}- (void) initializeGizoSDK:(nullable NSDictionary *)launchOptions {
GizoOptions *options = [[GizoOptions alloc] init];
GizoInitializationResult *result = [[Gizo shared] initializeWithOptions:options launchOptions:launchOptions];
if (result.isSuccessful) {
NSLog(@"[SDK]: Initialization successful");
} else {
NSLog(@"[SDK]: Initialization failed, reason: %@", result.failure.debugDescription);
}
}GIZO Options
Type
Default Value
Description
Upload Settings
GIZO Upload Setting
Type
Default Value
Description
Crash Settings
GIZO Crash Setting
Type
Default Value
Description
Last updated