Initialization
import GizoSDKfunc application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
initializeGizoSDK(launchOptions: launchOptions)
return true
}
func initializeGizoSDK(launchOptions: [UIApplication.LaunchOptionsKey: Any]?) {
let result = Gizo.shared.initialize(options: GizoOptions(), launchOptions: launchOptions)
Gizo.shared.setToken(clientId: "<clientId>", clientSecret: "<clientSecret>")
if result.isSuccessful {
print("[GizoSDK]: Initialization successful")
}
else {
print("[GizoSDK]: 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