Skip to content

Commit

Permalink
fix(ios): expose lastURL getter (#3898)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed Dec 3, 2020
1 parent 9def40c commit 90b7fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Capacitor/Capacitor/CAPApplicationDelegateProxy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Foundation
public class ApplicationDelegateProxy: NSObject, UIApplicationDelegate {
public static let shared = ApplicationDelegateProxy()

private(set) var lastURL: URL?
public private(set) var lastURL: URL?

public func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool {
NotificationCenter.default.post(name: .capacitorOpenURL, object: [
Expand Down

0 comments on commit 90b7fe3

Please sign in to comment.