[ https://issues.apache.org/jira/browse/CB-7487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14160934#comment-14160934 ]
ASF subversion and git services commented on CB-7487: ----------------------------------------------------- Commit 4a820172fdb0ca1571faa552016c35dba96e0d7c in cordova-plugin-file's branch refs/heads/master from [~dpeacock] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=4a82017 ] CB-7487 [Android] Broadcast file write This allows MTP USB shares to show the file immediately without reboot/manual refresh using 3rd party app. > 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: Android, Plugin File > Affects Versions: 3.4.0 > Environment: Nexus 5 and Windows 7 > Reporter: David Peacock > Assignee: Ian Clelland > > 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 (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org