Public API's
Launch SDK
Wishi.shared.launch(from: navigation)
Logout
public func logout() {} // will clean up tokens from deviceGet user status
Wishi.shared.getUserStatus { responseObject in
if let userStatus = responseObject as? UserStatus {
// Do here anything
}
} failure: { error, operation in
// TODO: Some should be shown to user
}
Get SDK version
Wishi.shared.wishiSDKVersion() -> StringLast updated
Was this helpful?