Skip to content

Commit

Permalink
Merge pull request #18 from stephanecopin/public-fix
Browse files Browse the repository at this point in the history
Fix issue where open url was changed to public url
  • Loading branch information
fmo91 authored May 23, 2017
2 parents 97ead7c + 704d2c7 commit e03cd1e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ open class PluggableApplicationDelegate: UIResponder, UIApplicationDelegate {
}

@available(iOS, introduced: 4.2, deprecated: 9.0, message: "Please use application:openURL:options:")
open func application(_ application: UIApplication, public url: URL, sourceApplication: String?, annotation: Any) -> Bool {
open func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any) -> Bool {
var result = false
for service in __services {
if service.application?(application, open: url, sourceApplication: sourceApplication, annotation: annotation) ?? false {
Expand All @@ -88,7 +88,7 @@ open class PluggableApplicationDelegate: UIResponder, UIApplicationDelegate {
}

@available(iOS 9.0, *)
open func application(_ app: UIApplication, public url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool {
open func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool {
var result = false
for service in __services {
if service.application?(app, open: url, options: options) ?? false {
Expand Down

0 comments on commit e03cd1e

Please sign in to comment.