set_gms_dependency
Declare if your app requires Google Mobile Services (GMS) by setting a flag, ensuring correct dependency configuration for AppGallery publishing.
Instructions
Declare whether the app depends on GMS (Google Mobile Services).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | No | AppGallery Connect app ID. Optional if HUAWEI_APP_ID is set in the environment. | |
| need_gms | Yes | 0=no GMS, 1=requires GMS. |