Skip to content

iPhone SE (iOS 26.1) – Black screen when opening Photo Library #935

@ramesh0452

Description

@ramesh0452

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?

when choosing “Photo from Library”, 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:

  • 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 → my app → 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.

Command or Code

this.camera.getPicture({
allowEdit: false,
correctOrientation: true,
destinationType: this.camera.DestinationType.FILE_URI,
encodingType: this.camera.EncodingType.JPEG,
mediaType: this.camera.MediaType.PICTURE,
quality: 100,
saveToPhotoAlbum: false,
sourceType: 0, // PictureSourceType.PHOTOLIBRARY
targetHeight: 1000,
targetWidth: 1000
});

Observed Errors and Faults (macOS Console):

error 11:44:37.848979+0530 (501) Invalidation handler invoked, clearing connection
error 11:44:37.849128+0530 (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:
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/app
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:3725])>{vt hash: 0}{definition:com.apple.mobileslideshow.photo-picker[extension][client]}/UISceneHosting: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: (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 LaunchServices: store or url 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 Attempt to map database failed: permission was denied. This attempt will not be retried.
error 11:44:37.997160+0530 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

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