Skip to content

Group Tool Debug & Publish ​

Group Tool Debugging ​

  1. Search for MosApp in the Google Chrome Web Store to install the mini-app debugging plugin (https://chromewebstore.google.com/search/MosApp?utm_source=ext_app_menu)

Install mini app debugging plugin

  1. Scan the QR code to log in to the developer tools Login developer toolsScan QR code to login developer tools

  2. Enable the MosApp simulation environment, and the console displays "mock api injected successfully" Enable MosApp simulation environment

  3. Call the API interfaces of mos.js, such as mos.login, etc. The debugging tool will return corresponding data Call API interfaces

Publish the Group Tool ​

  1. Log in to the developer backend, which can be accessed via the official website entry (https://mosapp.app) or directly by visiting the developer backend page (https://mp-console.mos.me/#/home)
  2. After entering the developer backend, open the "Management - Version Management" menu page, where you can upload the development version.
    1. The development version should be a zip compressed package of the frontend project compiled (root directory name must be dist), which should be the same as the content deployed to the server. dist.zip
    2. The entry file index.html of the packaged frontend code must be in the dist directory. file-root
  3. The uploaded version can be set as an experience version, and developers can use MosApp to scan the QR code of the experience version for testing.
  4. After confirming that the version is correct, you can submit it for review. The Mos operation staff will complete the group tool review as soon as possible upon receiving the review record.
  5. After passing the review, you can submit it for release to the online environment.
  6. After successful release, users can add the group tool via Group Tools in the group chat details. Group details - Add Group Tool