Hi,
I want to read all files in the folder:
/storage/sdcardXXX/DCIM/Camera/
With the org.apache.cordova.file plugin I get with
window.requestFileSystem function only my application root folder
and not the smartphone root folder.
I a special trick needed to get this work in Meteor ?
opened 08:25PM - 23 Feb 15 UTC
closed 04:58AM - 23 Jan 16 UTC
Project:Mobile
**_9 Upvotes**_ We are using the file transfer plugin to download a file to
`fi… le:///var/mobile/Containers/Data/Application/6BB3B78C-0BAA-42FF-93F0-C70B80B86944/tmp/cdv_photo_003.jpg`
However, then trying to access that path with an `<img` tag will give us security errors:
`Not allowed to load local resource: file:///var/mobile/Containers/Data/Application/6BB3B78C-0BAA-42FF-93F0-C70B80B86944/tmp/cdv_photo_003.jpg`
This won't happen in a normal `cordova` app since it starts via `file:///` protocol
However `meteor` breaks this beacuse the app will start on `http://meteor.local`
So, how to give access to the app's `file:///` sandbox files?
doedel
June 12, 2015, 8:07am
2
Cool, it seems that meteor 1.1.1 fix my problems
https://github.com/meteor/meteor/blob/release-1.1.1/History.md
I hope the release comes very soon.
The react-packages are not part of this release, or ?