Open belhadjhaythem opened 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 };
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
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
file:///private/var/mobile/Containers/Data/PluginKitPlugin/43792FA5-A8F8-4ECA-8CCE-0C5877088858/tmp/trim.7F9B8FC4-3307-4452-9F96-46A5D9A9DDD5.MOV
Did you change the directory method you used to fetch the file?
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