AnsweredAssumed Answered

Error downloading images on iOS devices

Question asked by JorginesKun on Oct 4, 2019
Latest reply on Oct 21, 2019 by SQuan-esristaff

I can not download any image on iOS but works perfectly on Windows and Android.


NetworkRequest {
    id: networkRequest
    url: "https://example.example.com/api/currentimage"
    responsePath:AppFramework.userHomeFolder.filePath("ArcGIS/AppStudio/pipo.jpg")
    headers.json: {"My-Key": "PIPO"}
    property url imagePath: AppFramework.resolvedPathUrl(responsePath)
    
    onReadyStateChanged: {
        if ( readyState === NetworkRequest.DONE ) {
            //console.log("downloaded image")
            selected.obtainedImagePath = imagePath;
            busyIndicator.running=false;
            //console.log(imagePath)
            selected.mustUpdate = false;
        }
    }
}

Any idea?

Outcomes