nativescript-imagepicker icon indicating copy to clipboard operation
nativescript-imagepicker copied to clipboard

[android] No path for returned image(s)

Open kryoware opened this issue 4 years ago • 1 comments

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

kryoware avatar Dec 09 '20 05:12 kryoware

Path is now returned in selection[0].path in 2.0.0 :)

davecoffin avatar Apr 18 '23 15:04 davecoffin