title: URL Scheme sometime launch App Store after application
body: <p>I use in my app url scheme and I don't know why <strong>sometime</strong> when I click on URL (e.g.  <a href="https://api.domain.com/menu?id=7ee5232764-0a79-4afe" rel="nofollow noreferrer">https://api.domain.com/menu?id=7ee5232764-0a79-4afe</a>) iOS opens my app (correct) and 1 second later opens App Store application (not correct). This is my openUrl's method:</p>
  
  <pre><code>func application(_ application: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:] ) -&gt; Bool {        
      let components = url.absoluteString.components(separatedBy: "/")
      if components.contains("menus") {
          let menuId = url.lastPathComponent
          let menu = Menu(id: menuId)
        SessionManager.shared.navigationManager.present(NavigationItem.menu(menu: menu).viewController, animated: true, completion: nil)
          return true
      } else {
          return false
      }
  }
  </code></pre>