Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-27653

Add function to check and request permissions to add to photo gallery

    Details

    • Type: New Feature
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Currently, there are no independent functions to check or request permissions to add a photo to the user's photo gallery. If you want to do this now, you have to call requestPhotoGalleryPermissions which is tied to this key: NSPhotoLibraryUsageDescription

      There are two distinct permissions that Apple has:

      NSPhotoLibraryUsageDescription
      NSPhotoLibraryAddUsageDescription

      The first one is for accessing photos in the photo gallery and the second one is for adding photos to the photo gallery. It is possible that you want to read, but not write to the photo gallery. The current available calls seem to request both.

      We need a set of functions similar to this:

      hasPhotoGalleryAddPermissions()
      requestPhotoGalleryAddPermissions()

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bhouse Brenton House
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration