Permission application method, component, device and computer-readable storage medium
CN112651040BActive Publication Date: 2024-10-01CHINA UNIONPAY
-1 Cites -1 Cited by
Patent Information
- Application Number
- CN202011477694.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-15
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-12-15
Smart Images

Figure CN112651040B_ABST
Abstract
The present invention provides a permission application method, component, device and computer-readable storage medium, the method comprising: receiving a permission application request from an external application, the permission application request including the permission name of the target permission; if the target permission is not authorized, creating a transparent permission application container according to the current stack top page (Activity) component; using the permission application container to apply for the target permission to the Android system, and receiving the permission application result from the Android system; calling the corresponding callback function according to the permission application result to implement a successful callback or a failed callback for the target permission. Using the above method, the permission application process can be greatly simplified and the code redundancy can be reduced.
Need to check novelty before this filing date? Find Prior Art
