You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vishal Mishra (JIRA)" <ji...@apache.org> on 2017/11/22 01:10:00 UTC

[jira] [Comment Edited] (CB-12107) Downloading a file into public folder does not show up on MTP

    [ https://issues.apache.org/jira/browse/CB-12107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16261742#comment-16261742 ] 

Vishal Mishra edited comment on CB-12107 at 11/22/17 1:09 AM:
--------------------------------------------------------------

maverickmishra commented on issue #165: CB-12107: (android) Trigger media scanner after downloading a file in…
URL: https://github.com/apache/cordova-plugin-file-transfer/pull/165#issuecomment-346204062
 
 
With the new features introduced in [XMLHttpRequest|https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest], this plugin is not needed any more. Migrating from this plugin to using the new features of [XMLHttpRequest|https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest], is explained in this [Cordova blog post|https://cordova.apache.org/blog/2017/10/18/from-filetransfer-to-xhr2.html].

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org



was (Author: githubbot):
maverickmishra commented on issue #165: CB-12107: (android) Trigger media scanner after downloading a file in…
URL: https://github.com/apache/cordova-plugin-file-transfer/pull/165#issuecomment-346204062
 
 
   With the new features introduced in [XMLHttpRequest](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest), this plugin is not needed any more. Migrating from this plugin to using the new features of [XMLHttpRequest](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest), is explained in this [Cordova blog post](https://cordova.apache.org/blog/2017/10/18/from-filetransfer-to-xhr2.html).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Downloading a file into public folder does not show up on MTP
> -------------------------------------------------------------
>
>                 Key: CB-12107
>                 URL: https://issues.apache.org/jira/browse/CB-12107
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-plugin-file-transfer (DEPRECATED)
>         Environment: Nexus 4 and Windows 10
>            Reporter: Beat Grabe
>            Assignee: Joe Bowser
>              Labels: Android
>
> Using the cordova-plugin-file-transfer to download a file from external url works as aspected. But when you want to see the file on Windows by using MTP when the device is connected via USB the file does not show up. Same behaviour on android photos or gallery application when you want to download an image file. The Plugin should be broadcasting "ACTION_MEDIA_SCANNER_SCAN_FILE" on the downloaded file to see it immediately.
> I will submit a PR on GitHub for a tested fix, which was inspired by a similar issue on the cordova-plugin-file ([CB-7487|https://issues.apache.org/jira/browse/CB-7487] && [CB-8663|https://issues.apache.org/jira/browse/CB-8663]).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org