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/09/10 20:17:38 UTC
[GitHub] [cordova-plugin-camera] PTRFRLL commented on issue #642: Unable to create bitmap!
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org