zepp-os-app-control
Installation
SKILL.md
Zepp OS App Control & Specialized Apps
Context: Device App (Mini Program). Prereq: declaring permissions in
app.json+ app types — seezepp-os-fundamentals.
Overview
@zos/app controls the running program: runtime permissions, package info, the current scene, performance. Beyond a normal app, Zepp OS has specialized targets (Workout Extension) and features (keyboard, media, live sport data).
Runtime permissions (@zos/app) [≥3.0]
Permissions are declared in app.json permissions[], but sensitive ones must also be requested at runtime:
import { queryPermission, requestPermission } from '@zos/app'