Affects Version/s: 2.4.1
Fix Version/s: None
iPhone 6+ (A1522) - iOS 10.3.1
iPad 3rd Gen (A1430) - iOS 9.3.5
Apple iPad Air 2 (A1566) - iOS 10.3.1
Xcode: 7.3.1 & 8.3.2
cordova-ios: 4.1.1 & 4.4.0
cordova-camera-plugin: 2.1.0 & 2.4.1
To get that out of the way, I know there is already an issue for this bug (
CB-11784), but since the author found a workaround using his own plugin (and the issue is on an older version of the plugin), I thought I would recreate it here and give more details on my situation.
Taking photos is a really important part of our app and our clients usually need to take 100+ photos in one session. Unfortunately, the app seems to crash after 20-50 photos taken. Looking at the memory usage, I can clearly see the usage of "other processes" grow like Christopher McCabe noticed before (even on the latest version of the plugin).
My team doesn't really want to use his custom plugin because it's not an official one and neither can we develop our own plugin since we are not Objective-C developers.
1. Build the app with the latest cordova-ios and camera-plugin
2. Click on Trigger Camera
3. Take photo (+ use photo)
4. Go to 2. if 0. is not implemented and wait for the crash (around 30 photos in on iPhone 6)
Is there any workaround on this issue using the official plugin or do we have to use another plugin custom to fix it?
Is this really an Apple related issue like Christopher McCabe suggests?
Thanks in advance for your anwsers