mirror of
https://github.com/flectar/mail.git
synced 2026-11-12 18:23:36 +00:00
Reading the system pasteboard requires ohos.permission.READ_PASTEBOARD (system_basic, user_grant). Declare it with a localized reason, resolve the reasonId while packing the hap (the packing tool normally does this), and let the page ask for the permission when a paste is denied; a toast explains the denial. The hap now only installs with an ACL-enabled signing profile that lists the permission; the README documents the requirement.