Skip to content

Allow access to some more photos  #195

Open

Description

@idevChandra6

With the new app privacy settings, we can allow some photos accessed by the application. Also, we can trigger to allow user to select some more photos accessed by the app.
Something like "Select more photos..." shown in this image https://i.stack.imgur.com/VG7p9.jpg.

The app does not trigger this alert always. We can manually trigger this. Wondering if you can add this method call through a button on the picker. Please let us know.

Thank you.

Activity

  1. Rj707 commented on Feb 20, 2022

    @Rj707

    Plus the library doesn't refresh the more photos selected, you will have to either kill the app or go back and come on the screen where you are using Gallery library to view the recently more selected photos.

  2. idevchandra commented on Feb 21, 2022

    @idevchandra

    Plus the library doesn't refresh the more photos selected, you will have to either kill the app or go back and come on the screen where you are using Gallery library to view the recently more selected photos.

    Yes, I end up doing the same. I really wish "Add More" feature would be implemented.

    Attached the screenshot of Reddit iOS app.
    IMG_C5F7E3D3E745-1

  3. Rj707 commented on Feb 21, 2022

    @Rj707

    in my case when the user lands on the Screen where the Gallery is being used, for the first time upon selecting photos(Select Photos) the photos being displayed by Gallery are refreshed. But the next time, upon selecting more photos(Select More Photos) the photos being displayed by Gallery are NOT refreshed.
    Select
    More

  4. Rj707 commented on Feb 22, 2022

    @Rj707

    the only solution to this is set the PHPhotoLibraryPreventAutomaticLimitedAccessAlert set to true in info.plist

  5. Rj707 commented on Feb 23, 2022

    @Rj707

    found another quick fix to this, though not a good one.

    `extension GalleryController: PHPhotoLibraryChangeObserver {

    public func photoLibraryDidChange(_ changeInstance: PHChange) {
        DispatchQueue.main.async { [unowned self] in
            // Obtain authorization status and update UI accordingly
            setup()
    
            if let pagesController = makePagesController() {
              g_addChildController(pagesController)
            } else {
              let permissionController = makePermissionController()
              g_addChildController(permissionController)
            }
        }
    }
    

    }`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions