Skip to content

Commit e03cd1e

Browse files
authored
Merge pull request fmo91#18 from stephanecopin/public-fix
Fix issue where open url was changed to public url
2 parents 97ead7c + 704d2c7 commit e03cd1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PluggableApplicationDelegate/Classes/ApplicationServicesManager.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ open class PluggableApplicationDelegate: UIResponder, UIApplicationDelegate {
7777
}
7878

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

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

0 commit comments

Comments
 (0)