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
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,
Hi,
In you SDK, the function
Tune.handleOpen(url, sourceApplication: sourceApplication)need aURLand aString!but with SWIFT 3.2, thesourceApplicationis now optional.Can we do that to avoid crashes ?