diff --git a/examples/api/index.html b/examples/api/index.html
index 919cfd2a7..655165ea0 100644
--- a/examples/api/index.html
+++ b/examples/api/index.html
@@ -4,7 +4,7 @@
Svelte + Vite App
diff --git a/examples/api/src-tauri/capabilities/base.json b/examples/api/src-tauri/capabilities/base.json
index 8508bb6bc..09d028dac 100644
--- a/examples/api/src-tauri/capabilities/base.json
+++ b/examples/api/src-tauri/capabilities/base.json
@@ -68,6 +68,9 @@
"fs:allow-rename",
"fs:allow-mkdir",
"fs:allow-remove",
+ "fs:allow-stat",
+ "fs:allow-fstat",
+ "fs:allow-lstat",
"fs:allow-write-text-file",
"fs:read-meta",
"fs:scope-download-recursive",
@@ -75,6 +78,9 @@
{
"identifier": "fs:scope-appdata-recursive",
"allow": [
+ {
+ "path": "$APPDATA/db/"
+ },
{
"path": "$APPDATA/db/**"
}
diff --git a/examples/api/src/views/FileSystem.svelte b/examples/api/src/views/FileSystem.svelte
index 66c3c3501..fbec86282 100644
--- a/examples/api/src/views/FileSystem.svelte
+++ b/examples/api/src/views/FileSystem.svelte
@@ -1,8 +1,9 @@
+ {#if isMobile}
+
+ On mobile, paths outside of App* paths require the use of dialogs
+ regardless of Tauri's scope mechanism.
+
+
+ {/if}
{#if file}
+