Skip to content

[android] No path for returned image(s) #333

@kryoware

Description

@kryoware

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions