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

ASF GitHub Bot commented on CB-7487:
------------------------------------

dpeacock commented on issue #81: CB-7487 [Android] Broadcast file write
URL: 
https://github.com/apache/cordova-plugin-file/pull/81#issuecomment-368888158
 
 
   @tvanesse you are correct, my fix was only for writing files as that's all I 
was using the plug-in for.  It would make sense that if you were moving/copying 
the files the same function I implemented (broadcastNewFile) should be called.

----------------------------------------------------------------
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:
us...@infra.apache.org


> Writing a file doesn't show up on android MTP
> ---------------------------------------------
>
>                 Key: CB-7487
>                 URL: https://issues.apache.org/jira/browse/CB-7487
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android, cordova-plugin-file
>    Affects Versions: 3.4.0
>         Environment: Nexus 5 and Windows 7
>            Reporter: David Peacock
>            Assignee: Ian Clelland
>            Priority: Major
>
> Using the file plug-in to write out a file works, but when you use MTP to 
> view the file when connected to USB on Windows the file doesn't show up.  
> The file shows up on the device or through adb.  Rebooting the device or 
> using things to refresh the MTP will have the file appear.  This was tested 
> on multiple Nexus 5 devices on multiple Windows 7 machines.
> Cordova should be broadcasting ACTION_MEDIA_SCANNER_SCAN_FILE on the file to 
> have it appear immediately.
> I will be submitting a pull request on the file plug-in for a fix I've tested 
> and confirmed that resolves this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to