DEV Community

Cover image for HarmonyOS Native Development Notes: 05-Things Beyond Development
shaohushuo
shaohushuo

Posted on

HarmonyOS Native Development Notes: 05-Things Beyond Development

Introduction

The entire application from development to listing requires a series of work, including domain name registration, ICP filing, opening a developer account, App filing, development, testing, listing, review and promotion, etc.

Domain Name

Registering and purchasing domain names from domain name service providers, individuals or companies should give priority to .com domain names, and be cautious when purchasing specific domain names such as .org. Filings must have corresponding qualifications or approval conditions, and some suffix domain names may not be able to be filed. For special domain names, it is recommended to check the website of the Ministry of Industry and Information Technology to verify whether filing is supported.

Filing

First, choose personal filing or corporate filing. Real-name authentication is required after the domain name is purchased, and the authentication information must be consistent with the filing. If the two are different, the domain name real-name information needs to be changed first.

There are many types of filing, including domain name filing, App filing, mini-program filing, etc. HarmonyOS Yuan Service filing is currently processed according to App filing, and the two processes are consistent.
Here is how to file a company record. Log in to the operator's record system, such as Alibaba Cloud, enter the record, fill in the company information, corporate legal person ID information and ID photo, website/App person in charge ID information and ID photo, and verify two mobile phone numbers at the same time.
If it is an App record, you need to fill in the application information, application name, package name, icon, fingerprint and signature information, etc. It should be noted that the name and package name should be consistent with the listed one, otherwise the review will be rejected.
After submitting the information, the record service provider will call to verify the information, and Alibaba Cloud will ask for the last six digits of your ID number.

After the service provider passes the review, it will submit the record information to the Ministry of Industry and Information Technology. At that time, you will receive a text message. At this time, log in to the Ministry of Industry and Information Technology's website, fill in the last 6 digits of the corporate legal person ID number and the last 6 digits of the person in charge, as well as this verification code, and it will be verified.

The requirements of the management bureaus in different regions are different. Some regions require that the person in charge of the website/App must be himself, while others do not make requirements. You can ask the record service provider.

Equipment

Huawei phones are expensive. For some developers, if the main phone is not Huawei, it may be a considerable expense. Here you need to make a decision based on your own situation.

If you only use ArkTs to develop native HarmonyOS applications, you can consider using an emulator. Most common ones can meet the requirements and the emulator has high availability.

If you are used to cross-end development frameworks, such as Flutter, or if you are designed to interact with the underlying system API or operate hardware, you need to consider equipping a real machine.

For devices, the mate60 series is preferred, including mate60, mate60pro, etc. If you are not price sensitive, consider mate70 and new models. Secondly, consider the nova series and then consider MatePad, etc. If you think the new phone is expensive, you can consider Xianyu second-hand. Before purchasing the phone, confirm that it can be upgraded to NEXT normally. Check the upgrade plan on the developer's official website to ensure that the model supports Next, and ask the seller if the system is unlocked and can be upgraded normally.

At present, most applications are adapted to mobile phones first, and there are fewer applications on matepad. Even if they are used for development, there are certain differences in perception between the two. It is especially important to pay attention to screen size adaptation, which will inevitably be rejected during the review process.

Development and testing

To improve development efficiency, you can use the preview function to preview the currently developed page or component in real time. After the module development is completed, debug it with an emulator or real device.

Enable hot reload. The default IDE is not enabled. If you need to use it, first modify the operation configuration, and then manually click the H hot reload icon. If you want to refresh automatically when saving, find Auto Save in the settings and enable it.

If the application needs to access the network, configure network access rights in the module.json5 file. For meta-services, you also need to enable "Exemption from control for meta-services in development" in the developer options of the device. When listing, configure the request domain name in the project configuration of AGC.

Listing review

When listing, if you check the tablet adaptation, make sure you have tested it on the tablet, or you have enough confidence that there is no adaptation problem. The reviewer will use a tablet to carefully check your app. If any problem is found, the app will not be put on the shelf.

You can provide a self-test screen recording to improve the review pass rate. If the app has special features in design or use, it is best to explain the reason in detail in the remarks so that the reviewer can fully understand.

Fill in all information truthfully when putting it on the shelf, and the application classification and labeling should be appropriate. Use the production certificate for packaging, and do not make mistakes when uploading packages and checking them. Even if the software packages not used on AGC are deleted, avoid confusion. When filling in the information, click Save to avoid information loss due to web page jumps during boot.

After successful submission, the system will first conduct a pre-review, which is a machine review. It takes about one or two hours to wait. You will receive a notification email whether the review is passed or not. Then it will enter a relatively long review waiting period. The review time is generally on weekdays, including Saturdays and Sundays. Based on this, you can reasonably arrange the review time and submit it for review in advance.

The public beta version and the official version have the same review process and are independent of each other.

Each time an application is submitted, the reviewer may be different, and the problems found may be different, which varies from person to person and from time to time.

The review is relatively loose when the application is first launched, and it may be more stringent when it is upgraded and reviewed again.

References

https://domain.miit.gov.cn/

Top comments (0)