fuse-open / fuselibs

Fuselibs is the Uno-libraries that provide the UI framework used in Fuse apps
https://npmjs.com/package/@fuse-open/fuselibs
MIT License
176 stars 72 forks source link

failed to create directory #1417

Closed ckarmy closed 1 year ago

ckarmy commented 3 years ago

On many Android device when I try to publish on my camera roll a image that I take I get failed to create directory

With this code:

camera.takePicture(640, 480)
    .then(function(image) {
        return cameraRoll.publishImage(image);
    })
    .then(function() {
        // Will be called if the image was successfully added to the camera roll.
    }, function(error) {
        // Will called if an error occurred.
    });

In some device this work fine...

ckarmy commented 3 years ago

This is solved adding to the manifest:

<application ......
                android:requestLegacyExternalStorage="true">

I'ts possible to add this via .unoproj or something?