Skip to content

Commit

Permalink
fix(dynamic-links): prevent crash when annotation is null (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
edusperoni committed May 5, 2022
1 parent 8f5cab1 commit 8a53b8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class TNSFirebaseDynamicLinksAppDelegate: UIResponder , UIApplicationDele

@objc public func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {

return application(app, open: url, sourceApplication: options[UIApplication.OpenURLOptionsKey.sourceApplication] as? String, annotation: options[UIApplication.OpenURLOptionsKey.annotation]!)
return application(app, open: url, sourceApplication: options[UIApplication.OpenURLOptionsKey.sourceApplication] as? String, annotation: options[UIApplication.OpenURLOptionsKey.annotation])
}

@objc public func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any) -> Bool {
Expand Down

0 comments on commit 8a53b8b

Please sign in to comment.