Public API's

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
}

Get SDK version

Wishi.shared.wishiSDKVersion() -> String

Last updated