원클릭으로
engage-sdk-integration
Helps developers integrate, debug, and resolve Play Engage SDK implementation issues. Use when adding Engage SDK support, generating publishing code, mapping data classes to entities, or fixing SDK-related errors.
메뉴
Helps developers integrate, debug, and resolve Play Engage SDK implementation issues. Use when adding Engage SDK support, generating publishing code, mapping data classes to entities, or fixing SDK-related errors.
| name | engage-sdk-integration |
| description | Helps developers integrate, debug, and resolve Play Engage SDK implementation issues. Use when adding Engage SDK support, generating publishing code, mapping data classes to entities, or fixing SDK-related errors. |
| license | Complete terms in LICENSE.txt |
| metadata | {"author":"Google LLC","last-updated":"2026-06-09","keywords":["android","engage","engage sdk","play engage library","google play"]} |
This skill guides you through integrating the Play Engage SDK into an Android app. It ensures that the code follows the mandatory structure and uses the required Engage entities for each vertical.
Follow these steps to assist the developer:
Identify Vertical and Cluster:
{VERTICAL}.md in the references/schemas/ directory to identify the corresponding Engage entities and the client class name. The client field in the JSON provides the full class name. (e.g., com.google.android.engage.food.service.AppEngageFoodClient).Context parameter (e.g., AppEngageFoodClient(context)).{VERTICAL}.md in the references/schemas/ directory for the specified cluster. Each method will specify the request it expects.Generate Structured Boilerplate Code:
Constants: Holds constant values like attempt counts, publish types.ItemToEntityConverter: Converts app's local models to Engage's Entity models.ClusterRequestFactory: Constructs the publish requests.EngageWorker: Handles the actual publishing and publish errors using WorkManager.EngagePublisher: Orchestrates periodic and one-time jobs.EngageBroadcastReceiver: Listens for AppEngageService intents and starts a one-time publish job from EngagePublisher. Important : Implement both static registration and dynamic registration patterns, including the companion object register method inside the EngageBroadcastReceiver class.Suggest Entity Mapping:
{VERTICAL}.md in the references/schemas/ directory as a guide.ItemToEntityConverter pattern in patterns.md and add it to the generated {ENGAGE_CODE_DIR}/ItemToEntityConverterSuggest Data Source:
{ENGAGE_CODE_DIR}/ItemToEntityConverter to convert this data to Engage entity.{ENGAGE_CODE_DIR}/ ClusterRequestFactory to get cluster requests.{VERTICAL}.md in the references/schemas/ directory with the obtained request in previous step in {ENGAGE_CODE_DIR}/EngageWorker.Gradle and Manifest Updates:
build.gradle and AndroidManifest.xml.implementation dependencies for build.gradle or build.gradle.kts from patterns.md.<receiver> and <service> declarations for AndroidManifest.xml.Debugging:
com.google.android.engage or classes starting with AppEngage, verify the package name in the {VERTICAL}.md in references/schemas/ directory or common.md.User Checklist:
At the end of code generation, notify the user to go through this checklist
to verify that the integration is complete and as intended:
[ ] Verify that all the engage related files are created in
{ENGAGE_CODE_DIR}/:
Constants
ItemToEntityConverter
ClusterRequestFactory
EngageWorker
{cluster_type}Publisher
EngageBroadcastReceiver
[ ] Verify that app's local model is converted to Engage entity by populating
the fields correctly in the model in {ENGAGE_CODE_DIR}/ ItemToEntityConverter.
[ ] Verify that {ENGAGE_CODE_DIR}/EngageWorker uses the data source
identified in Step 4.
[ ] Verify that EngageBroadcastReceiver.register(context) is called within
the Application class or MainActivity to register the receiver
dynamically.
[ ] Verify that AndroidManifest.xml contains the static <receiver>
declaration for EngageBroadcastReceiver with the necessary intent actions.
Important : Explicitly instruct the developer to call EngageBroadcastReceiver.register(context) inside their custom Application class onCreate() (or their main activity onCreate()) to dynamically register the receiver. Stress that both static and dynamic registrations are required for the integration to function.
FAQ: Engage FAQ - Refer to this document for answers to frequently asked questions from developers.
Vertical-Specific Guides:
Vertical-Specific Schemas:
Provides a complete workflow for implementing verified email retrieval on Android Credential Manager API. Use this skill to integrate a secure, OTP-less email verification flow into an Android app. This skill solves the problem of high-friction sign-up processes by leveraging cryptographically verified credentials from trusted providers like Google.
Provides a structured workflow for migrating an Android XML View to Jetpack Compose. This skill details the step-by-step process, from planning and dependency setup, to theming and layout migration, validation and XML cleanup. Use this skill when you need to migrate an XML View to Jetpack Compose in an Android project. It solves the problem of converting the UI of a legacy XML View into modern, declarative Compose components while maintaining interoperability.
Use this skill to integrate the Jetpack Compose Styles API into an Android project. This skill guides you through upgrading dependencies, setting up component themes, making custom components styleable, and migrating existing layout properties to use unified styles. Migrate custom design system components, replace hard coded parameters with Style attributes, and use Modifier.styleable for interaction states.
Analyzes Android build files and R8 keep rules to identify redundancies, broad package-wide rules, and rules that subsume library consumer keep rules. Use when developers want to optimize their app's size, remove redundant or overly broad keep rules, or troubleshoot Proguard configurations.
Expert guidance for working with Wear OS Compose Material3. Use this skill when creating, updating or migrating Wear OS projects. This includes the androidx.wear.compose.material3, androidx.wear.compose.foundation and androidx.wear.compose.navigation3 libraries. Also working with core components such as AppScaffold, ScreenScaffold and TransformingLazyColumn. Migration from earlier versions such as Material 2.5 and Horologist.
Provides guidelines for developing projected Android XR apps for display glasses using the Jetpack Compose Glimmer UI toolkit. This skill covers foundational Glimmer design principles, workflows for implementing Jetpack Compose Glimmer, and interaction models for the glasses form factor. Use this skill to build an Android XR Augmented Experience app with Jetpack Compose Glimmer that adheres to the Glimmer design system for optimized glasses styling.