Plugin version: 8.2.0, iOS.
Before — deprecated getPhoto with CameraSource.Photos presented PHPickerViewController, the iOS system picker (CameraPlugin.swift, presentPhotoPicker). It has albums and search, and iOS localizes it.
Now — chooseFromGallery presents a custom SwiftUI view, IONCAMRPhotoLibraryView in a UIHostingController
(IONCAMRGalleryBehaviour.displayPhotoLibraryView). There are no albums and no search, and the navigation title is hardcoded to "Photo Library", so it stays English in a localized app.
This change is not mentioned in the 8.1.0 migration guide or the changelog. For Android the opposite move is documented in the README ("the Android Photo Picker component is now used"), which is why the iOS change looks unintended.
Questions:
- Was replacing the system picker intended?
- Can the system picker be used again, or made opt-in?
- Can the navigation title be localized?
Unrelated to the UI, but same method: the documented quality, targetWidth and targetHeight options are ignored for chooseFromGallery on both platforms (related to #69?).
Plugin version: 8.2.0, iOS.
Before — deprecated
getPhotowithCameraSource.PhotospresentedPHPickerViewController, the iOS system picker (CameraPlugin.swift,presentPhotoPicker). It has albums and search, and iOS localizes it.Now —
chooseFromGallerypresents a custom SwiftUI view,IONCAMRPhotoLibraryViewin aUIHostingController(
IONCAMRGalleryBehaviour.displayPhotoLibraryView). There are no albums and no search, and the navigation title is hardcoded to"Photo Library", so it stays English in a localized app.This change is not mentioned in the 8.1.0 migration guide or the changelog. For Android the opposite move is documented in the README ("the Android Photo Picker component is now used"), which is why the iOS change looks unintended.
Questions:
Unrelated to the UI, but same method: the documented
quality,targetWidthandtargetHeightoptions are ignored forchooseFromGalleryon both platforms (related to #69?).