Intermediate: Integration of Security Permission in Harmony OS App

  1. Harmony OS phone.
  2. Java JDK.
  3. DevEco Studio.
  1. Create a New Harmony OS Project.
  1. An application can be configured and requested with a maximum of 1024 custom permissions.
  2. To avoid conflicts with system permissions, a custom permission name defined by an application cannot start with ohos and its length cannot exceed 256 characters.
  3. The grant mode of a custom permission cannot be user_grant.
  4. The permission restriction scope for a custom permission cannot be restricted.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store