Using the Camera.getLimitedLibraryPhotos is crashing on iOS if I choose more than approx 30 images

Using Capacitor 5.2.3 with Camera plugin 5.0.7.

if (cameraPermission.photos === 'limited') {
        const images = await Camera.getLimitedLibraryPhotos();
}

For this code when I am trying to get selected photos for limited photo access the app is crashing if the selected photos are more than 30.
Any ideas on what I can do here ?