How to apply for media read and write permissions on Hongmeng device
Applicable to: OpenHarmony version 3.2 API 9 Stage model and HarmonyOS
solution
1. Configure the media read and write permissions ohos.permission.READ_MEDIA and ohos.permission.WRITE_MEDIA in the module.json5 configuration file.
Example:
{
"module" : {
"requestPermissions":[
{
"name" : "ohos.permission.READ_MEDIA",
"reason"<