nativescript-imagepicker
nativescript-imagepicker copied to clipboard
[android] No path for returned image(s)
This occurs on a few of the Huawei devices in our test suite or if the image is in external storage. I cannot migrate to NS7 since it breaks some of the essential plugins we use. Any advice is appreciated.
On NS7 with the @nativescript/imagepicker (1.x) - Works as expected.
On NS6 with the nativescript-imagepicker (7.x) - This is what I get if I stringify the image
{
"_observers": {},
"_options": {
"keepAspectRatio": true,
"autoScaleFactor": true
},
"_android": ""
}
I also applied the workaround for permissions here:
Please, provide the following version numbers that your issue occurs with:
- CLI:
7.0.11 - Cross-platform modules:
"tns-core-modules": "^6.5.15" - Runtime:
"tns-android": "6.5.3"
https://github.com/kryoware/imagepicker-issue
main: NS6
ns7: NS7
I build main branch using --force
Path is now returned in selection[0].path in 2.0.0 :)