I tested this plugin in ios simulator ios 12, ios 15.2 but when I test in real device iphone x (ios 15.5), it crashed the app. I have attached the full error log.
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: FRONTBOARD 2343432205
<RBSTerminateContext| domain:10 code:0x8BADF00D explanation:[application<com.MyApp.photo>:4949] failed to terminate gracefully after 5.0s
ProcessVisibility: Background
ProcessState: Running
WatchdogEvent: process-exit
WatchdogVisibility: Background
WatchdogCPUStatistics: (
"Elapsed total CPU time (seconds): 10.760 (user 10.760, system 0.000), 35% CPU",
"Elapsed application CPU time (seconds): 0.084, 0% CPU"
) reportType:CrashLog maxTerminationResistance:Interactive>
Triggered by Thread: 0
crashlog.txt
Ionic:
Ionic CLI : 6.19.0 (/.nvm/versions/node/v14.17.3/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.1.3
@angular-devkit/build-angular : 13.2.6
@angular-devkit/schematics : 13.2.6
@angular/cli : 13.2.6
@ionic/angular-toolkit : 6.1.0
Cordova:
Cordova CLI : 11.0.0
Cordova Platforms : ios 6.2.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 9 other plugins)
Utility:
cordova-res : 0.15.4
native-run (update available: 1.6.0) : 1.5.0
System:
Android SDK Tools : 26.1.1 (/Library/Android/sdk)
ios-deploy : 1.11.4
ios-sim : 8.0.2
NodeJS : v14.17.3 (/.nvm/versions/node/v14.17.3/bin/node)
npm : 6.14.13
OS : macOS Big Sur
Xcode : Xcode 13.2.1 Build version 13C100
It's a simple code
pickFromGallery() {
let options = {
maximumImagesCount: 5,
quality: 100
}
this.imagePicker.getPictures(options).then((results) => {
for (var i = 0; i < results.length; i++) {
console.log('Image URI: ' + results[i]);
}
this.uploadFile(results);
}, (err) => {
console.log(err);
});
}
Hope I will get some help!
I tested this plugin in ios simulator ios 12, ios 15.2 but when I test in real device iphone x (ios 15.5), it crashed the app. I have attached the full error log.
crashlog.txt
It's a simple code
Hope I will get some help!