Version 2.80 now available with SAF improvements and more!

108 views
Skip to first unread message

Dave

unread,
Sep 4, 2026, 5:11:28 AM (14 days ago) Sep 4
to DroidScript
Hi Guys,

Latest release here - https://droidscript.org/download/v2.80/

You'll notice I have 'snazzed up' the download pages and also renamed the 'X' version to 'Enterprise' as it seems more appropriate and it's also got nothing to do with what used to be twitter :)

Note: the 2.8x series will go into maintenance only mode now as we move towards the V3 official release.

DS 2.80.0
Fixed SAF file write truncation bug.
Fixed app.CreateShortcut bug in APKs.
Added new app.GetSafeArea() method with cutout and system option.
Fixed app.EnableBackKey(false) in Android 16 APKs.
Fixed Google Play warning about 16 KB memory page sizes.
Improved SAF support in all file handling functions.
app.ListPermissions( "all/internal/external/usb" ) now returns use-able URIs.

DS 2.79.2b
Updated ApkBuilder to target API 36.
Updated ApkBuilder to use Billing v8.


Ferhat

unread,
Sep 16, 2026, 11:30:17 AM (2 days ago) Sep 16
to DroidScript

Hi, I found a crash in the DroidScript WebView when using the HTML download attribute together with Canvas.toDataURL().

This simple code reproduces the issue:

<!DOCTYPE html>
<html>
<body>

<canvas id="canvas" width="500" height="300"></canvas>

<button onclick="downloadCanvas()">Download PNG</button>

<script>
const canvas = document.getElementById("canvas");
const ctx = canvas.getContext("2d");

ctx.fillStyle = "red";
ctx.fillRect(50, 50, 200, 100);

function downloadCanvas() {
    const data = canvas.toDataURL("image/png");

    const a = document.createElement("a");
    a.href = data;
    a.download = "canvas.png";

    document.body.appendChild(a);
    a.click();
    document.body.removeChild(a);
}
</script>

</body>
</html>

When the button is pressed, the WebView freezes and the app is force-closed.

The same download approach is expected to work in a normal browser, so this appears to be related to the DroidScript WebView's handling of <a download> with a data URL generated by canvas.toDataURL();


4 Eylül 2026 Cuma tarihinde saat 12:11:28 UTC+3 itibarıyla Dave şunları yazdı:
Reply all
Reply to author
Forward
0 new messages