You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/11/01 17:38:24 UTC

[GitHub] andreddosantos commented on issue #269: externalRootDirectory returning internal path

andreddosantos commented on issue #269: externalRootDirectory returning internal path
URL: https://github.com/apache/cordova-plugin-file/issues/269#issuecomment-435122272
 
 
   After some research i've started using the diagnostics plugin to get the **SDCard** real path, 
   now when using:
   ### Test 1
   `checkdir("file:///storage/0123-4567/Android/data/<my-app>/files" , "")`
   returns 57 directories 
   
   <img width="374" alt="captura de ecra 2018-11-01 as 17 35 34" src="https://user-images.githubusercontent.com/4041944/47868647-9ff60e00-ddfc-11e8-8183-b4c927dff2af.png">
   
   ### Test 2
   `checkdir("file:///storage/0123-4567/" , "Android/data/<my-app>/files") // returns returns {"code":1,"message":"NOT_FOUND_ERR"}`
   
   
   How can i list the folders inside an **SDCard** folder?
   
   Regards 
   André
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

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