Thryve SDK 4.x to 5.x migration
This page covers migrations from previous to latest versions.
Core changes
CoreConnector is now ThryveSDK
await ThryveSDK.getOrCreate(thryveSDKConfig).getUserInformation()
// Optionally, when ThryveSDK is initialized from a non-async context (AppDelegate, legacy code, etc.),
// it is recommended to use the getOrCreate(...) callback to know when the SDK is ready.
ThryveSDK.getOrCreate(thryveSDKConfig) { initResult in
if initResult.successful {
Logger.i("ThryveSDK ready, you can start calling API methods")
} else if let error = initResult.errors?.first {
Logger.e("ThryveSDK init failed: \(error.errorMessage ?? "Unknown error")")
}
} Centralized (module) configuration
Accessing (module) functions
Automated User Creation with Thryve SDK
Thryve Connection Widget replaces the former screen provided via dataSourceUrl
dataSourceUrl
Plattform-specific changes
Adapted naming of keywords and variables
Previous Variable/Parameter
Current Variable/Keyword
Description
Last updated

