We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the last but the important step:
you have to call some methods of SwiftShareHandlerIosPlatform in your AppDelegate.
override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]? ) -> Bool { GeneratedPluginRegistrant.register(with: self) if (launchOptions != nil) { SwiftShareHandlerIosPlatform.instance.application(application, didFinishLaunchingWithOptions: launchOptions!) } return super.application(application, didFinishLaunchingWithOptions: launchOptions) }
override func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { print("application open url=(url)") var ret = SwiftShareHandlerIosPlatform.instance.application(app, open: url, options: options) return ret }
override func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([Any]) -> Void) -> Bool { print("application continue userActivity=(userActivity.webpageURL)") return SwiftShareHandlerIosPlatform.instance.application(application, continue: userActivity, restorationHandler: restorationHandler) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
the last but the important step:
you have to call some methods of SwiftShareHandlerIosPlatform in your AppDelegate.
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?
) -> Bool {
GeneratedPluginRegistrant.register(with: self)
if (launchOptions != nil) {
SwiftShareHandlerIosPlatform.instance.application(application, didFinishLaunchingWithOptions: launchOptions!)
}
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
override func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
print("application open url=(url)")
var ret = SwiftShareHandlerIosPlatform.instance.application(app, open: url, options: options)
return ret
}
override func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([Any]) -> Void) -> Bool {
print("application continue userActivity=(userActivity.webpageURL)")
return SwiftShareHandlerIosPlatform.instance.application(application, continue: userActivity, restorationHandler: restorationHandler)
}
The text was updated successfully, but these errors were encountered: