Permission Request
INTRODUCTION
This document shows you how to obtain the permission to request user data and the configuration file to request device data via Mini App Center.
To obtain the permission for the data or the configuration file, the developer can go to the Permission List page and complete the process.
How to access
- Login to Mini App Center
- Choose the Mini App you want to configure the permission
- Choose Management > Permission List on the sidebar
REQUEST TO USE PERMISSION
Request user info
First, go to your app Dashboard, then click on Management > Permission List.
Click on the Request button of the permission you want to use in the Mini App.
When the Create Permission Request window pops up, fill in the required information.
The required input information are:
- Add detail description: Explain clearly how the permission is going to be used in the Mini App
- Upload screenshot: Provide a screenshot to illustrate the feature that uses the permission
- Agree to terms and conditions: Check the checkbox to confirm
Click on Create Request to submit the request form.
After the form is submitted, the permission will change to Pending status.
Our MoMo team will review the application and change the status to one of the following:
- Live: the application has been approved by our review team. You can now use the permission in the Mini App.
- Rejected: the application has been rejected by our review team.
For rejected permission, you can click on Request to submit another application for review or View to see the feedback from MoMo.
Request device info
First, go to your app Dashboard, then click on Permission List.
On the Permission List page, choose Device Permission.
In the popup window, choose the device permissions you want to to request in your Mini App.
Click on the Download button to download the app.json file. Replace the app.json file in your Mini App source code.
Now you can request the device info using API such as requestPermission, checkPermission, etc.
REMOVE PERMISSION
Before removing a permission, make sure your application does not use the removed permission.
Note:
- Make sure you update the app to not use the removed permission on all app platform (iOS and Android), and all deploy target
- If the permission is still requested via API, the request will be denied, no data will be responded and it may affect the functionality of the app.
After removing the permission, if the developer wants to use the permission again, they have to request for the permission.
To remove the permission, go to your app dashboard, then choose Permission List.
Click View of the permission you want to remove.
Click on Remove permission to remove the ability to use that permission.