目录

What are the differences between ASCF and mini programs?

Framework

ASCF is a framework for HarmonyOS atomic service development. It depends on the ASCF runtime to load resource files compiled from ASCF source code and run atomic service projects.

The global object of ASCF APIs is defined as Harmony Atomic Service (HAS).

File types of ASCF source code

Framework differences

Component

API

Principles

Email address: atomicservice@huawei.com

Email subject: [Request for ASCF APIs]-[Atomic service name]-[App ID]-[Developer ID] (For details about how to query the app ID, see the following table.)

Email content: Describe your request in detail.

Basic Information Description
Atomic service name Name of the atomic service on AppGallery.
App ID App ID. You can find it by signing in to HUAWEI Developers and choosing My Projects > Settings > Regular > App > APP ID.
Developer ID HUAWEI ID used by you for debugging. To obtain the HUAWEI ID, sign in to HUAWEI Developers and choose My Projects > Settings > Regular > Developer > Developer ID.

Key API differences

API Suggestion
has.getAccountInfoSync App ID can be obtained from AppScope or the bundle name in app.json5.
has.getClipboardData This API is not supported currently due to the strict control over the clipboard permission.

Permission