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 2020/10/11 13:51:04 UTC

[GitHub] [cordova-plugin-camera] deepti1408 opened a new issue #675: Android Q support , Migrating legacystorage

deepti1408 opened a new issue #675:
URL: https://github.com/apache/cordova-plugin-camera/issues/675


   The plugin uses FileProvider.getUriForFile() whichis now nolonger supported fromAndroid Q scoped storage. Please release an update with new storage scope Mediastore api for android Q support
   
   #### Android 10 and up
   
   #### Pixel 2
   
   #### Plugin version
   
       cordova plugin version | grep cordova-plugin-file-opener2
   
   Here is the output:
   3.0.5
   
   


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

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-camera] jcesarmobile commented on issue #675: Android Q support , Migrating legacystorage

Posted by GitBox <gi...@apache.org>.
jcesarmobile commented on issue #675:
URL: https://github.com/apache/cordova-plugin-camera/issues/675#issuecomment-708960792


   That’s totally different from what you said


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

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-camera] deepti1408 commented on issue #675: Android Q support , Migrating legacystorage

Posted by GitBox <gi...@apache.org>.
deepti1408 commented on issue #675:
URL: https://github.com/apache/cordova-plugin-camera/issues/675#issuecomment-708893356


   hi @jcesarmobile , from android Q, getExternalStorageDirectory is deprecated. In the code, fileProvider is using this path for saving captured images. This is part of scoped storage introduced in android 10. Please refer links:
   [https://developer.android.com/training/data-storage/use-cases#migrate-legacy-storage](https://developer.android.com/training/data-storage/use-cases#migrate-legacy-storage)
   [https://commonsware.com/blog/2019/06/07/death-external-storage-end-saga.html](https://commonsware.com/blog/2019/06/07/death-external-storage-end-saga.html)
   


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

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-camera] jcesarmobile commented on issue #675: Android Q support , Migrating legacystorage

Posted by GitBox <gi...@apache.org>.
jcesarmobile commented on issue #675:
URL: https://github.com/apache/cordova-plugin-camera/issues/675#issuecomment-708962212


   Duplicate of https://github.com/apache/cordova-plugin-camera/issues/534


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

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-camera] jcesarmobile closed issue #675: Android Q support , Migrating legacystorage

Posted by GitBox <gi...@apache.org>.
jcesarmobile closed issue #675:
URL: https://github.com/apache/cordova-plugin-camera/issues/675


   


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

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-camera] jcesarmobile commented on issue #675: Android Q support , Migrating legacystorage

Posted by GitBox <gi...@apache.org>.
jcesarmobile commented on issue #675:
URL: https://github.com/apache/cordova-plugin-camera/issues/675#issuecomment-708720294


   Can you provide more information about it? 
   The docs don’t mention anything about not being supported nor being deprecated on android Q
   https://developer.android.com/reference/androidx/core/content/FileProvider#getUriForFile(android.content.Context,%20java.lang.String,%20java.io.File)


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

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