[
https://issues.apache.org/jira/browse/CB-10512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130296#comment-15130296
]
Eric dos Reis Santos commented on CB-10512:
-------------------------------------------
I gave an alert to display the fileSystem object in the callback function in
ng-cordova.js, and this object don't contains the getFile() function:
$window.resolveLocalFileSystemURL(path, function (fileSystem) {
alert("fileSystem " + JSON.stringify(fileSystem));
> Nothing happens when trying to move a file
> ------------------------------------------
>
> Key: CB-10512
> URL: https://issues.apache.org/jira/browse/CB-10512
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, CordovaJS
> Environment: Android
> Reporter: Eric dos Reis Santos
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> I was to able to create a directory, and I'm trying to move a image stored in
> "temp files" directory to my directory created in file system, but nothing
> happens, the promise doesn't return error and success, absolutely nothing
> happens.
> The cordova file plugin was added in my app.
> I debugged the app in my device with Android Studio, and I saw an error in
> log cat: "Error in Success callbackId: File285873816 : TypeError:
> fileSystem.getFile is not a function" in source:
> file:///android_asset/www/cordova.js
> Someone can help me?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]