The following figure shows the process of developing an atomic service.
Figure 1 Atomic service development process
Atomic service development includes the following phases:
- Before development
Before creating an atomic service project, you need to register a Huawei ID and create your atomic service. Next, choose your atomic service development technology stack, set up the development environment, and create an atomic service project through DevEco Studio.
- The bundle name of an atomic service is in the format of com.atomicservice.[appid]. You can create your atomic service first to obtain the app ID before creating your project.
- In AppGallery Connect, click Development & services, select your project from the list, and click the atomic service you want to view. Go to Project settings > General information to query the app ID of the atomic service.
- An atomic service is a tailored solution for the mini-program ecosystem, allowing you to develop atomic services efficiently using development technologies similar to those used for mini-programs. For details, see Overview of ASCF.
- Developing atomic services with the ASCF framework involves a different technology stack from using ArkTS/ArkUI. Therefore, hybrid development is not supported. For details about the ASCF framework capabilities, see Development Guide.
- Under development
An atomic service consists of pages, service widgets, and icons. For details, see Generating Atomic Service Icons.
DevEco Studio provides the following capabilities to improve your development experience.
- Generating atomic service icons: You can upload an image with the specified size and format to quickly generate a service icon.
- Packaging
You can use DevEco Studio to quickly pack and generate a release version. This version can be used for closed or open test or release review. For details, see Packaging for Version Release.
- Testing
You can release a closed test version to gather real-world user feedback, identify potential issues, and make informed improvements.
- Release
After the atomic service is fully tested and known issues are fixed, you can release the official version.