Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38232

Handling incoming iOS file:// URLs

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • QPA
    • None
    • iOS/tvOS/watchOS

      This is right now more a reminder to people who want to handle invocations by other apps.

      Situation:
      If iOS invokes the app with an incoming file, the QDesktopServices registered handler for file:// will be invoked (see https://qt.gitorious.org/qt/qtbase/commit/c5b19f252188a01dd7b12090f4776420e3714000 ), since incoming files will be in

      file://localhost/private/var/mobile/Applications/[bundleid]/Documents/Inbox/
      

      Registering your own file:// handler then however breaks invoking outgoing file:// URLs
      since our own handler will be invoked. (whatever the default for iOS is, maybe it's not implemented yet anyway)

      Workaround: Use UIDocumentInteractionController directly if you want to do outgoing calls.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vestbo Tor Arne Vestbø
            mgoetz2 Markus Goetz (Woboq GmbH)
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes