मुख्य सामग्री पर जाएँ
Skillpedia
मोबाइल ऐप10k · #11928

engage-sdk-integration

यह क्या करती है

यह स्किल Google Play Engage SDK को Android ऐप में जोड़ने का मार्गदर्शन देती है। यह सही vertical और entities चुनने, प्रकाशन कोड लिखने और SDK त्रुटियाँ ठीक करने में मदद करती है। यह उन Android डेवलपरों के लिए है जो चाहते हैं कि उनका कंटेंट Google Play की सिफ़ारिश वाली जगहों पर दिखे।

कब इस्तेमाल करें

  • ✓जब आप Engage SDK से अपने ऐप का कंटेंट Google Play पर प्रकाशित करना चाहते हैं।
  • ✓जब आपको अपने ऐप के डेटा क्लास को अपने vertical के Engage entities से मैप करना हो।
  • ✓जब Engage SDK से कोई त्रुटि आए और आपको उसे ठीक करने में मदद चाहिए।

Skill का लिंक

https://github.com/android/skills/blob/main/play/engage-sdk-integration/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/android/skills/blob/main/play/engage-sdk-integration/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे food ऐप में Play Engage SDK जोड़िए, ताकि मेरी रेसिपी Google Play पर प्रकाशित हो सकें।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल पूछती है कि आपका ऐप कौन सा vertical और cluster इस्तेमाल करता है, फिर उससे मेल खाने वाला schema पढ़ती है, जिसमें entities और client class होते हैं। फिर वह अनुरोध की ज़रूरी संरचना के साथ प्रकाशन कोड लिखती है और त्रुटियाँ डीबग करने में मदद करती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

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:

  1. 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. If the integration is for TV, read the TV-specific sections in patterns.md as well.
    • Use {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. For example, com.google.android.engage.food.service.AppEngageFoodClient.
    • Note: Initializing the client class requires a Context parameter. For example, 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}.md in 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.
  2. Generate structured boilerplate code:

    • Create a new directory for all Engage-related code. Name the directory to match the naming convention of the existing codebase.
    • Generate the following classes using templates in patterns.md:
      • Constants: holds constant values such as attempt counts and publish types.
      • ItemToEntityConverter: converts the 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.
  3. Suggest entity mapping:

    • Ask the developer to provide their local model schema (for example, a data class or a JSON snippet).
    • If they haven't provided one, share entities from {VERTICAL}.md in the references/schemas/ directory as a guide.
    • Once the local model is identified, suggest a mapping to the corresponding Engage entity.
    • Generate the conversion logic using the ItemToEntityConverter pattern in patterns.md and add it to the generated {ENGAGE_CODE_DIR}/ItemToEntityConverter.
  4. Suggest data source:

    • Ask the developer to provide the source of actual data you'll publish.
    • Once you identify the data source, use it to fetch the data in the app's local model schema.
    • Use {ENGAGE_CODE_DIR}/ItemToEntityConverter to convert this data to an Engage entity.
    • Use obtained Engage entity model data with {ENGAGE_CODE_DIR}/ ClusterRequestFactory to get cluster requests.
    • Call corresponding cluster publishing method obtained from {VERTICAL}.md in the references/schemas/ directory with the obtained request in previous step in {ENGAGE_CODE_DIR}/EngageWorker.
  5. Gradle and manifest updates:

    • Suggest updates to build.gradle and AndroidManifest.xml.
    • For mobile apps, use patterns.md.
    • For TV apps, use the TV-specific sections in patterns.md.
    • Provide the necessary implementation dependencies for build.gradle or build.gradle.kts from patterns.md.
    • Provide the <receiver> and <service> declarations for AndroidManifest.xml.
    • Note: Except for TV, there aren't any vertical-specific imports. For all other verticals, com.google.android.engage:engage-core:1.6.0 is sufficient.
  6. Debugging and verification:

    • **S
अक्सर पूछे जाने वाले सवाल

क्या यह TV ऐप को भी कवर करती है?

हाँ। अगर इंटीग्रेशन TV के लिए है, तो स्किल TV वाला मार्गदर्शन भी इस्तेमाल करती है।

क्या यह पहले मुझसे सवाल पूछेगी?

हाँ। यह पूछती है कि आपका ऐप किस vertical का है और आप कौन सा cluster प्रकाशित करना चाहते हैं।

क्या इसे मेरे Google Play खाते की ज़रूरत है?

स्किल कोड पर केंद्रित है। आपका अपना खाता और console सेटअप इसके दायरे से बाहर है।

जानकारी

लेखक का मूल विवरण

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.

repo: android/skills

लोकप्रियता

GitHub स्टार
10k
रैंकिंग में स्थान
#11928
लाइसेंस
Apache-2.0
अपडेट की गई
29/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

agp-9-upgrade

10k

आपके एजेंट को Android ऐप को Android Gradle Plugin 9 पर ले जाने और उसके breaking changes सुधारने में मदद करती है। मल्टीप्लेटफ़ॉर्म प्रोजेक्ट के लिए नहीं।

कोडिंगमोबाइल ऐप

camerax

10k

आपके एजेंट को CameraX से Android कैमरा फ़ीचर बनाने में मदद करती है, जिसमें वीडियो रिकॉर्डिंग, हार्डवेयर कंट्रोल, ML Kit और Media3 इफ़ेक्ट शामिल हैं।

कोडिंगमोबाइल ऐप

android-for-cars-parked-apps

10k

आपके एजेंट को Android वीडियो, गेम या ब्राउज़र ऐप को Android Auto और Android Automotive पर parked ऐप के रूप में चलाने के लिए ढालने में मदद करती है।

कोडिंगमोबाइल ऐप

appfunctions

10k

आपके एजेंट को Android ऐप के मुख्य काम ढूँढकर उन्हें AppFunctions के रूप में देने में मदद करती है, ताकि AI एजेंट और वॉइस कमांड उन्हें चला सकें।

AI और एजेंटएजेंट

मिलती-जुलती skills