engage-sdk-integration
Installation
SKILL.md
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.
Workflow
Follow these steps to assist the developer:
-
Identify Vertical and Cluster:
- Ask the developer which vertical their app belongs to based on references/schemas/.
- Check if the integration is for TV or Mobile. Read the TV-specific sections in patterns.md as well if the integration is for TV.
- Use
{VERTICAL}.mdin the references/schemas/ directory to identify the corresponding Engage entities and theclientclass name. Theclientfield in the JSON provides the full class name. (e.g.,com.google.android.engage.food.service.AppEngageFoodClient). - Note: Initializing the client class requires a
Contextparameter (e.g.,AppEngageFoodClient(context)). - Always refer to common.md for common entities.
- Ask which cluster type they want to publish from the supported cluster types for that vertical.
- Find the method to call from
{VERTICAL}.mdin the references/schemas/ directory for the specified cluster. Each method will specify the request it expects. - Get the request structure from requests.md and clusters from clusters.md. Then suggest and use sources to fill the fields in the request structure correctly, along with the required entities and clusters.
-
Generate Structured Boilerplate Code:
Related skills
More from android/skills
r8-analyzer
Analyzes Android build files and R8 keep rules to identify redundancies,
336navigation-3
Learn how to install and migrate to Jetpack Navigation 3, and how to
330edge-to-edge
Use this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge
309migrate-xml-views-to-jetpack-compose
Provides a structured workflow for migrating an Android XML View to Jetpack
299play-billing-library-version-upgrade
Use this skill when upgrading or migrating an Android project from any
238display-ai-glasses-with-jetpack-compose-glimmer
Provides guidelines for developing projected applications for Android
87