Launch SDK
Wishi.shared.launch(from: navigation)
Logout
public func logout() {} // will clean up tokens from device
Get 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 }
Wishi.shared.wishiSDKVersion() -> String
Last updated 1 year ago