huyewen commented on issue #346: URL: https://github.com/apache/cordova-plugin-file/issues/346#issuecomment-915866590
> This is probably not a lasting solution, but I managed to restore functionality for uploading videos from the photo library in my app, so I guess that's good :) > > The problem is in `cordova-plugin-camera`: > It seems that the path is actually correct, but that the url simply gets invalidated too soon, causing the file manager to not be able to find the file. The workaround is to keep a reference to the `info` object passed to the `imagePickerController:didFinishPickingMediaWithInfo:` method of the UIImagePickerControllerDelegate, and thus preventing the url from being invalidated. > > This is what worked for me: > [kkabell/cordova-plugin-camera@b1b0c94](https://github.com/kkabell/cordova-plugin-camera/commit/b1b0c9499b6b5c18d109671967e1218e05428e0a) Wow, so cool, my issue finally is solved because of your reply what you give here, thank you very much. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
