apache / cordova-plugin-camera

Apache Cordova Plugin camera
https://cordova.apache.org/
Apache License 2.0
960 stars 1.52k forks source link

(ios) workaround for Issue #778 #838

Open AdrianV opened 10 months ago

AdrianV commented 10 months ago

Platforms affected

iOS

Motivation and Context

Issue #778

Description

setting data to nil in line 409 crashes the front end app. Therefore I commented it out. This is not a perfect solution for the Issue #778 because we want the location data when CameraUsesGeolocation but better not to crash.

Testing

with CameraUsesGeolocation set to true in the config.xml and taking a photo from the Album does not crash anymore on iOS >= 15

Checklist