Open fpaaske opened 5 years ago
After hours of testing all the different models above with a number of different CameraOptions
, it seems like the one I didn't test was the one most obvious to test: saveToGallery: false
const options: CameraOptions = {
width: this.imageSize,
height: this.imageSize,
cameraFacing: 'front',
allowsEditing: true,
keepAspectRatio: true,
saveToGallery: false // <-- this did the trick
};
This seems to solve the issue on both the S10 and the P30 Pro.. So I have a workaround as I don't need to save it to the gallery, but someone else might need this functionality.
Which platform(s) does your issue occur on?
Android 9 but so far only on Huawei P30 Pro and Samsung S10
Please, provide the following version numbers that your issue occurs with:
$ tns info ✔ Getting NativeScript components versions information... ✔ Component nativescript has 5.3.4 version and is up to date. ✔ Component tns-core-modules has 5.3.2 version and is up to date. ✔ Component tns-android has 5.3.1 version and is up to date. ✔ Component tns-ios has 5.3.1 version and is up to date.
Please, tell us how to recreate the issue in as much detail as possible.
Try to take a picture using
Same code works on
Is there any code involved?
Stacktrace: