     
     internal func handleURL(_ URL: Foundation.URL) {
         safariVC?.dismiss(animated: true, completion: nil)
-        NotificationCenter.default.removeObserver(self, name: .UIApplicationDidBecomeActive)
+        NotificationCenter.default.removeObserver(self, name: UIApplication.didBecomeActiveNotification)
         
         guard let completion = completion else { return }
         


extension Provider {
    @objc func didBecomeActive(_ notification: Notification) {
        NotificationCenter.default.removeObserver(self, name: .UIApplicationDidBecomeActive)
        
        if let completion = completion {
            DispatchQueue.main.async { completion(.failure(Error.cancel)) }

     - parameter options: A dictionary of launch options.
     */
    @available(iOS 9.0, *)
    open func handleURL(_ URL: Foundation.URL, options: [UIApplication.OpenURLOptionsKey: Any]) {
        let sourceApplication = options[.sourceApplication] as? String
        
        handleURL(URL, sourceApplication: sourceApplication)
