We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

Configuring the Client ID

  1. Sign in to AppGallery Connect, choose Development and services, find your desired app, and click it to access the Project settings page. On the General information tab page, find the client ID under App information.

  2. In the module.json5 file of the entry module in the project, add the metadata section, in which you should set name to client_id and value to the client ID obtained in the previous step.

    Collapse
    Word wrap
    Dark theme
    Copy code
    1. {
    2. "module": {
    3. "name": "xxxx",
    4. "type": "entry",
    5. "description": "xxxx",
    6. "mainElement": "xxxx",
    7. "deviceTypes": [],
    8. "pages": "xxxx",
    9. "abilities": [],
    10. "metadata": [
    11. // Configure the following information:
    12. {
    13. "name": "client_id",
    14. "value": "xxxxxx"
    15. }
    16. ]
    17. }
    18. }
Search in Guides
Enter a keyword.