breautek commented on issue #1053: URL: https://github.com/apache/cordova-android/issues/1053#issuecomment-678262454
It looks like you took the full file path from another platform and saved it, then tried to use that file path on a different platform. File paths differ from by platform, so you should be saving the relative URL part, eg: ``` localStorage.myImage = "cee8882b-650f-4107-88c3-5f84f90cbf36.jpg"; ... let myImage = localStorage.myImage; let filepath = cordova.files.dataDirectory + myImage; ``` The above example hasn't been tested, but should give you the right idea. Let me know if this helps. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
