Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Works perfect on two of four devices. #200

Open
qroft opened this issue Sep 6, 2019 · 0 comments
Open

Works perfect on two of four devices. #200

qroft opened this issue Sep 6, 2019 · 0 comments

Comments

@qroft
Copy link

qroft commented Sep 6, 2019

Expected Behaviour

a) Download a zip file, extract it and save it to the cordova.file.dataDirectory
AND
b) Check if a folder on the external (emulated) storage exist

Actual Behaviour

On two devices everything works fine.
On the other two neither can i
a) download a ZIP file (no error but does not even start a download)
AND
b) I can not even check if a folder exists with
$(".butCheckFolder").click(function(){ store = cordova.file.externalRootDirectory; window.resolveLocalFileSystemURL(store + "gifs", function () { $('.butCheckFolder .item-title span').html('Folder found.'); }, function (error) { $('.butCheckFolder .item-title span').html('Folder not found.'); }); });

Reproduce Scenario (including but not limited to)

Use the standard example, but on different devices.
Try one that has no SD card mountable for example.

Steps to Reproduce

--

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

Different Android versions.

(Android) What device vendor (e.g. Samsung, HTC, Sony...)

Works: on my BQ smartphone (no SD card mountable) and my Samsung Alpha (several years old)
Does not work: on a Huawei smartphone and my Lenovo tablet

Cordova CLI version and cordova platform version

cordova --version 9.0.0
cordova platform version android 7.1.4

Plugin version

1.4.2

Sample Code that illustrates the problem

sync = ContentSync.sync({ src: 'http://www.xxx.com/' + whatpack + '.zip', id: 'gifs', type: 'merge' });

Logs taken while reproducing problem

--

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant