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

Works perfect on two of four devices. #200

Description

@qroft

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

--

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions