@livx.cc/appwrap 0.61.6 → 0.61.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -80,7 +80,14 @@ export const MANIFEST_SCHEMA_VERSION = 1;
|
|
|
80
80
|
export const MODULES: ModuleManifest[] = [
|
|
81
81
|
// ── core (always on, no permissions) ───────────────────────────────────
|
|
82
82
|
{ name: 'haptics', core: true, group: 'core', capabilities: { haptics: 'native' } },
|
|
83
|
-
|
|
83
|
+
// `shareFiles` hands a file to the OS sheet, and one of the activities the sheet offers for a
|
|
84
|
+
// photo or video is "Save Image"/"Save Video" — which WRITES to the camera roll. iOS omits that
|
|
85
|
+
// activity SILENTLY when the app carries no add-only photo-library usage string, so the sheet
|
|
86
|
+
// appears correct and simply lacks the one row the person was reaching for.
|
|
87
|
+
{
|
|
88
|
+
name: 'share', core: true, group: 'core', capabilities: { share: 'native', shareFiles: 'native' },
|
|
89
|
+
ios: { permissions: [{ key: 'NSPhotoLibraryAddUsageDescription', domain: 'photosAdd', defaultUsage: 'Save a photo or video you chose to your library.' }] },
|
|
90
|
+
},
|
|
84
91
|
{ name: 'storage', core: true, group: 'core', capabilities: { storage: 'native', secureStorage: 'native' } },
|
|
85
92
|
// fs: app-sandbox file I/O (documents/data/cache) + system document picker. Core — every root is
|
|
86
93
|
// inside the app sandbox and the picker returns user-chosen security-scoped URIs → zero perms.
|