ramesh0452 opened a new issue, #935:
URL: https://github.com/apache/cordova-plugin-camera/issues/935
# Bug Report
Black screen when selecting “Photo from Library” only on iPhone SE (iOS 26.1)
### What is expected to happen?
The system photo picker should open and display the photo library for image
selection.
### What does actually happen?
After choosing “Photo from Library” from the bottom sheet, the system asks
for photo permissions (Allow Full Access).
Once allowed, the app shows a black screen instead of the photo picker.
The picker UI never appears, and the user cannot access any other app
functionality.
The app remains stuck on this screen until the user **force closes and
relaunches** it.
No crash occurs, but the app stays frozen on the black screen until
restarted.
## Information
When we attempt to upload an image from the photo library:
- The bottom sheet shows “Take Photo”, “Photo from Library”, and “Files”.
- Selecting “Photo from Library” triggers the iOS permission dialog.
- After granting Full Access, the picker shows a black screen instead of the
library UI.
- Camera and File picker both work as expected.
- Permissions are correctly visible under
- Settings → Privacy & Security → Photos → Planon → Full Access.
- The issue occurs only on iPhone SE (iOS 26.1).
- Works fine on iPhone 14 / 14 Pro (iOS 26.0.1) and on older iOS versions
(16, 18).
- We use a custom URL scheme, but since the issue occurs before selecting an
image (while opening the photo picker), it’s not relevant to this problem.
## Observed Errors and Faults (macOS Console):
error 11:44:37.848979+0530 Planon (501) Invalidation handler
invoked, clearing connection
error 11:44:37.849128+0530 Planon (501)
personaAttributesForPersonaType for type:0 failed with error Error
Domain=NSCocoaErrorDomain Code=4099 "The connection to service named
com.apple.mobile.usermanagerd.xpc was invalidated from this process."
UserInfo={NSDebugDescription=The connection to service named
com.apple.mobile.usermanagerd.xpc was invalidated from this process.}
error 11:44:37.849874+0530 runningboardd Saved endowments:
<private>
error 11:44:37.934134+0530 kernel Sandbox: PhotoPicker(3847)
deny(1) file-read-metadata
/private/var/containers/Bundle/Application/F5197700-37DC-4D55-AA04-18D271A2EA25/Planon.app/Planon
error 11:44:37.952852+0530 backboardd cycle detected between
[35-1AB] -> [35-3]
error 11:44:37.954086+0530 backboardd cycle detected between
[35-1AB] -> [35-3]
fault 11:44:37.977288+0530 PhotoPicker -[_EXSinkLoadOperator
loadItemForTypeIdentifier:completionHandler:expectedValueClass:options:] nil
expectedValueClass allowing {(
PUEditingInitialPayload,
NSMutableData,
NSError,
NSMutableArray,
PUPhotoPickerRemoteViewControllerRequestOptions,
NSString,
NSDate,
NSDictionary,
NSURL,
CKShare,
UIImage,
NSData,
_EXItemProviderSandboxedResource,
NSMutableDictionary,
NSValue,
NSNumber,
NSArray,
NSUUID,
NSMutableString
)}
error 11:44:37.996798+0530 SpringBoard Couldn't find the SB
window scene hosting scene identity token:
3725->xpcservice<com.apple.mobileslideshow.photo-picker([app<com.planonsoftware.mobileplatform.live(5B17203F-F94E-4AA9-BAEF-6B3850B93115)>:3725])>{vt
hash:
0}{definition:com.apple.mobileslideshow.photo-picker[extension][client]}/UISceneHosting-com.planonsoftware.mobileplatform.live:UIHostedScene-com.apple.mobileslideshow.photo-picker-C7DA8C4F-B81C-407F-9372-616B11CF1D24
error 11:44:37.996822+0530 SpringBoard [coordinator] could not
find (null)
error 11:44:37.997015+0530 kernel Sandbox: Planon(3725) deny(1)
forbidden-map-ls-database
error 11:44:37.997060+0530 kernel Sandbox:
com.apple.WebKit.GPU(3726) deny(1) mach-lookup com.apple.diagnosticd
error 11:44:37.997138+0530 Planon LaunchServices: store <private>
or url <private> was nil: Error Domain=NSOSStatusErrorDomain Code=-54 "process
may not map database" UserInfo={_LSLine=72,
_LSFunction=_LSServer_GetServerStoreForConnectionWithCompletionHandler,
_LSFile=LSDReadService.mm, NSDebugDescription=process may not map database}
error 11:44:37.997150+0530 Planon Attempt to map database failed:
permission was denied. This attempt will not be retried.
error 11:44:37.997160+0530 Planon Failed to initialize client
context with error Error Domain=NSOSStatusErrorDomain Code=-54 "process may not
map database" UserInfo={_LSLine=72,
_LSFunction=_LSServer_GetServerStoreForConnectionWithCompletionHandler,
_LSFile=LSDReadService.mm, NSDebugDescription=process may not map database}
error 11:44:38.017812+0530 kernel Sandbox:
com.apple.WebKit.Networking(3729) deny(1) mach-lookup com.apple.diagnosticd
error 11:44:38.025644+0530 CommCenter LTE cell 1 of 1 MCC (0)
is invalid
error 11:44:38.026071+0530 wifid
WiFiLQAMgrLinkRecommendationNotify: channel score: chq=2, tx-lat=5, rx-lat=3,
tx-loss=5, rx-loss=5, txPer=0.0%, p95-lat=1, RT=0x0, link-recommendation=0x1
These logs appear immediately after selecting “Photo from Library” and
before the picker UI is rendered.
### Environment, Platform, Device
Device: iPhone SE (2nd / 3rd Gen)
iOS Version: 26.1
Reproducibility: Issue occurs only on iPhone SE (iOS 26.1)
Working devices: iPhone 14 and iPhone 14 Pro on iOS 26.0.1 (no issue)
Older versions: Works fine on iPhone SE with iOS 16 and iOS 18
Xcode: Unable to reproduce in simulator or when debugging from Xcode
Expected permissions (included):
NSCameraUsageDescription
NSPhotoLibraryUsageDescription
NSPhotoLibraryAddUsageDescription is not included because the app does
not save images back to the library.
### Version information
cordova version 12.0.0
cordova camera plugin latest
## Checklist
- [ ✅] I searched for existing GitHub issues
- [ ✅] I updated all Cordova tooling to most recent version
- [ ✅] I included all the necessary information above
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]