remoorejr / cordova-plugin-camera-with-exif

Cordova Camera Plugin that will return an image as well as the EXIF data (including GPS location) on iOS and Android devices.
Apache License 2.0
38 stars 53 forks source link

Uploading videos ios 13 > URL problem #59

Open belhadjhaythem opened 1 year ago

belhadjhaythem commented 1 year ago

Using this plugin, i found the same issue on the main cordova-plugin-camera (which is normally the base of this plugin).

Using this config : var options = { destinationType: 1, sourceType : 0, mediaType: 1 };

Url expected like: file:///var/mobile/Containers/Data/Application/98D7C3AE-A24F-46CE-A3B4-CF03B26355BE/tmp/video.mp4

URL got like : file:///private/var/mobile/Containers/Data/PluginKitPlugin/43792FA5-A8F8-4ECA-8CCE-0C5877088858/tmp/trim.7F9B8FC4-3307-4452-9F96-46A5D9A9DDD5.MOV

michaeloki commented 23 hours ago

Did you change the directory method you used to fetch the file?