infil00p / cordova-crosswalk-engine

(UNMAINTAINED) Proof of Concept Third Party Web Engine using Crosswalk
Apache License 2.0
45 stars 438 forks source link

Anomalies on writing files with cordova-plugin-file #46

Open TonyExpress opened 8 years ago

TonyExpress commented 8 years ago

Hi, first, this project is really essential for developing apps with Android <4.4, thanks for all contributors!

The problem: I found that, with the support crosswalk, I have problems when writing files via the plugin cordova-file-plugin. Without crosswalk, the app performed without problems reading and writing files operations using the appropriate plugin, as well as saving images through cordova-plugin-camera.

With crosswalk instead, the files are not written (I tried with dataDirectory and cacheDirectory), while the camera captured images are saved in the cache dir, but then are immediately deleted.

Access to the file is essential for my app, and it would be a shame to give up crosswalk because, for the rest, I find it PERFECT!

I have found the problem on devices with Android 4.1 and 4.4

Please tell me that there is a solution....

fujunwei commented 8 years ago

Thanks for trying crosswalk, i filed a issue to track on JIRA in https://crosswalk-project.org/jira/browse/XWALK-6982.

haoxli commented 8 years ago

@tonyhef which api do you use in your app? I write a cordova-plugin-file demo, and build with crosswalk, it work fine, the steps comment in XWALK-6982. If you have different steps and code, please share for me, I will help to have a debug. Thank you very much.