PTRFRLL commented on issue #642:
URL:
https://github.com/apache/cordova-plugin-camera/issues/642#issuecomment-690699922
I have the same issue on Android 11 (API 30) only. Running on Android 10
(API 29), everything works as normal.
If I try to load an image from the library (`sourceType: LIBRARY`) I get:
`Unable to create bitmap!`
If I try to take an image from the camera (`sourceType: CAMERA`) I get:
`Attempt to invoke virtual method 'boolean java.io.File.mkdirs()' on a null
object reference`
### Environment, Platform, Device
Android 11 - R (API 30)
Using AndroidX setting in my cordova `config.xml`: `<preference
name="AndroidXEnabled" value="true" />`
### Version information
```
Cordova Platforms : android 8.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0,
cordova-plugin-ionic-webview 4.2.1, (and 16 other plugins)
```
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]