You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/05/19 05:45:41 UTC

[GitHub] [cordova-plugin-file] mujaffars opened a new issue, #523: Mention API level 29 onward's plugin will not work.

mujaffars opened a new issue, #523:
URL: https://github.com/apache/cordova-plugin-file/issues/523

   # Feature Request
   
   ## Motivation Behind Feature
   <!-- Why should this feature be implemented? What problem does it solve? -->
   The readme does not mention that this plugin will not work if we use Api level greater than 29. Please mention that so the users will get a clear understanding of the app.
   
   
   ## Feature Description
   <!-- 
   Describe your feature request in detail
   Please provide any code examples or screenshots of what this feature would look like
   Are there any drawbacks? Will this break anything for existing users? 
   -->
   Android now accepts new apps with Api level greater than 29 only. So adding clear details to the readme will give a clear understanding.
   
   
   ## Alternatives or Workarounds
   <!-- 
   Describe alternatives or workarounds you are currently using 
   Are there ways to do this with existing functionality?
   -->
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [cordova-plugin-file] breautek commented on issue #523: Mention in Readme that - API level 29 onward's plugin will not work for reading files outside project directory.

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #523:
URL: https://github.com/apache/cordova-plugin-file/issues/523#issuecomment-1132990461

   You can still read files outside the project directory (which I assume you mean the application directory...)
   
   But there are many directories outside of the project directory that are simply no longer accessible, or have limited access with Scoped Storage, which was introduced in API 29 and completely enforced in API 30.
   
   You should be able to read files inside the `cordova.file.external*` paths for example, all of which are outside of your application directory, but you can only read files in which your app has created. And you may need the `READ_EXTERNAL_STORAGE` permission granted for reading files that wasn't created by your app.
   
   Creating new directories in the external storage is also no longer permissible with the new scoped storage rules.
   
   I agree though, documentation will likely need to be updated. I'm sure there is also some conflicting information in our previous documentation.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [cordova-plugin-file] breautek closed issue #523: Mention in Readme that - API level 29 onward's plugin will not work for reading files outside project directory.

Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek closed issue #523: Mention in Readme that - API level 29 onward's plugin will not work for reading files outside project directory.
URL: https://github.com/apache/cordova-plugin-file/issues/523


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [cordova-plugin-file] breautek commented on issue #523: Mention in Readme that - API level 29 onward's plugin will not work for reading files outside project directory.

Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek commented on issue #523:
URL: https://github.com/apache/cordova-plugin-file/issues/523#issuecomment-1708299416

   Noted at https://github.com/apache/cordova-plugin-file#androids-external-storage-quirks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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