You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
In you SDK, the function Tune.handleOpen(url, sourceApplication: sourceApplication) need a URL and a String! but with SWIFT 3.2, the sourceApplication is now optional.
Can we do that to avoid crashes ?
func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any) -> Bool {
// When the app is opened due to a deep link, call the Tune deep link setter
if let s = sourceApplication {
Tune.handleOpen(url, sourceApplication: s)
}
else{
Tune.handleOpen(url, sourceApplication: nil)
}
...
}
Regards,
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
In you SDK, the function
Tune.handleOpen(url, sourceApplication: sourceApplication)
need aURL
and aString!
but with SWIFT 3.2, thesourceApplication
is now optional.Can we do that to avoid crashes ?
The text was updated successfully, but these errors were encountered: