Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › native imagePicker return empty path

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #22263

    Nicola

    Hi,

    i’m developing on iOS 13, i want load a photo from gallery using native image picker, but after that i select the photo the path is null, my code:

    IconButtonBarItem {
                //anchors.fill: parent
                id: photoButton
                icon: IconType.photo
                showItem: showItemAlways
                visible: true
                onClicked: {
                    nativeUtils.displayImagePicker("test")
    
                }
            }
    
     Connections {
            target: nativeUtils
            onImagePickerFinished: {
                console.log("[Debug] foto path " + path + " accepted " + accepted)
                if(accepted) {
                    //image.source = path
                    console.log("[Debug] foto path " + path)
                }
            }
        }

    Accepted is always FALSE

    #22306

    Alex
    Felgo Team

    Hi Nicola,

    we are not quite able to reproduce this issue. Does it happen using the Live Client or with regular deployment from Qt Creator?

    Best,
    Alex

    #22308

    Nicola

    Hi,

    regola deployment on real device.

    N.

    #22314

    Nicola

    Let me know if i can do some test to help the investigation.

    #22359

    Alex
    Felgo Team

    Hi Nicola,

    is iCloud activated for photos on your testing device?

    Cheers,
    Alex

Viewing 5 posts - 1 through 5 (of 5 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded