Skip to content

Vue Returned data is empty #7

@tingfong214

Description

@tingfong214

When using nativescript-rad-imagepicker

 let opts = {
    doneButtonTitle: 'done', // only affects ios
    noImagesTitle: 'No Images', // only affects ios
    allowVideoSelection: false, // only affects ios
    imageLimit: 1
}
radImagepicker.pick(opts).then((selectedImages) => {
    if (selectedImages) {
        // Do something with selected images
        // currently 
        // the image will be of type nativescript image source
        // tns-core-modules/image-source

       console.log("data", JSON.stringify(selectedImages))
    }
});

After choosing image, the returned data (selectedImages) is :

'data' '[{"_rotationAngle":0,"android":{}}]'

It is empty in the object android. Hence, no image can be shown or read in app.

May I know is this how it work?

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