bug: ios getPhoto "Select more photos"
See original GitHub issueBug Report
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 3.6.0
@capacitor/core: 3.6.0
@capacitor/android: 3.6.0
@capacitor/ios: 3.6.0
Installed Dependencies:
@capacitor/cli: 3.6.0
@capacitor/android: 3.6.0
@capacitor/core: 3.6.0
@capacitor/ios: 3.6.0
[success] iOS looking great! 👌
[success] Android looking great! 👌
Platform(s)
iOS 15
Current Behavior
When you initially start an App, you will get asked if a user is allowed to select all Photos or only some specific. If the User select some speific and then restart the app and request again a Photo with getPhoto function from Capacitor Camera the Promise will resolve the image data will return and then iOS asks if he want to select more Photos or keep the current selection.
Can this be adjusted to prevent the popup? Because i only want to select one Photo not multiple.
Expected Behavior
There are two possible Behaviors.
- The iOS Popup should not be shown because it is a single selection and it should not be possible to select more photos.
- The Popup will be shown and after the seconds selection the Promise will resolve not before.
Code Reproduction
- Install Capacitor
- use Capacitor Camera
- use getPhoto Method
- start the iOS App
- select a Image
- Wait for the popup and select “Select more photos…” https://github.com/danielehrhardt/ios-getphoto-popup
Other Technical Details
npm --version
output:
node --version
output:
pod --version
output (iOS issues only):
Additional Context
Issue Analytics
- State:
- Created a year ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
photos select option bug - Apple Community
There is a serious bug in the camera/photos app, and its been there for several releases, including IOS 14.6.
Read more >Top 7 Ways to Fix iOS 16 Photo Cutout Not Working
Open your Settings app and hit the “General” option. Now tap "Transfer or Reset iPhone" and choose the "Erase All Content and Settings"...
Read more >[4 ways] How to Transfer Photos From iPhone to Laptop - 2022
If you use Mac, you can use AirDrop to transfer their photos between devices easily. But if you use Windows users, how to...
Read more >image_picker | Flutter Package - Pub.dev
Flutter plugin for selecting images from the Android and iOS image library, and taking new pictures with the camera. More.
Read more >Place Photos | Places API - Google Developers
Generated from the OpenAPI specification. edit Editbug_report Report bug ... All requests to the Place Photo service must include a photoreference ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sadly that’s the behaviour of the native component used by the Camera plugin to pick images from the gallery and I agree that it’s a terrible UX. It’s not really asking you to select more photos, but to allow more photos to be picked next time.
There is nothing we can do from code, but you can prevent the “Select More Photos” prompt by adding this to your Info.plist
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.