cordova-plugin-camera icon indicating copy to clipboard operation
cordova-plugin-camera copied to clipboard

`getExternalStoragePublicDirectory` is deprecated in API level 29

Open rodrigograca31 opened this issue 6 years ago • 0 comments

Bug Report

getExternalStoragePublicDirectory is deprecated in API level 29

Problem

I didnt run into any problem exactly but I was updating a plugin I maintain to work with Android 10 (Q, Api 29) cordova-plugin-canvas2image-updated and while searching for occurences of this API noticed this plugin was also using it... https://github.com/apache/cordova-plugin-camera/blob/295e928784e2a9785982fbf15b05215a317774df/src/android/CameraLauncher.java#L608-L609

I also have a related issue on my plugin so I will link it here...

What is expected to happen?

What does actually happen?

Information

This thread may help

Command or Code

Environment, Platform, Device

Version information

Checklist

  • [x] I searched for existing GitHub issues
  • [x] I updated all Cordova tooling to most recent version
  • [x] I included all the necessary information above

rodrigograca31 avatar Nov 29 '19 13:11 rodrigograca31