harmony 鸿蒙Access Token Changelog
Access Token Changelog
cl.access_token.1 Change of requestPermissionsFromUser
Access Level
Public
Reason for Change
If requestPermissionsFromUser() is called multiple times to request user authorization for the same permission, the authorization dialog box will be displayed multiple times and the user needs to grant or deny the permission each time.
Change Impact
This change is a non-compatible change.
Before the change:
Each time requestPermissionsFromUser() is called, the authorization dialog box will be displayed for the user to operate.
After the change:
Ehen requestPermissionsFromUser() is called to request the same permission for multiple times, the authorization dialog box will be displayed only once.
Start API Level
9
Change Since
OpenHarmony SDK 5.0.0.22
Key API/Component Changes
requestPermissionsFromUser in @ohos.abilityAccessCtrl.d.ts
Adaptation Guide
See requestPermissionsFromUser.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙ArkGraphics2D Subsystem Changelog
harmony 鸿蒙ArkUI Subsystem Changelog
harmony 鸿蒙Crypto Framework Changelog
harmony 鸿蒙Multimedia Subsystem Changelog
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦