Zum Inhalt springen

KI-gestützte Integration

Verwenden Sie KI-Coding-Assistenten, um das Pushwoosh Unity SDK in Ihr Projekt zu integrieren und zu konfigurieren. Indem Sie Ihren Assistenten mit dem Context7 MCP-Server verbinden, erhält er Zugriff auf aktuelle Plugin-Dokumentation, Codebeispiele und API-Referenzen – so kann er präzisen, funktionierenden Integrationscode generieren.

So funktioniert es

Anchor link to

Context7 ist ein MCP-Server, der KI-Assistenten mit aktueller Bibliotheksdokumentation versorgt. Wenn Ihr Assistent Zugriff auf Context7 hat, kann er die neuesten Pushwoosh Unity SDK-Dokumente, Code-Snippets und API-Referenzen direkt während des Gesprächs abrufen – anstatt sich auf potenziell veraltete Trainingsdaten zu verlassen.

Die Bibliotheks-ID des Pushwoosh Unity SDK auf Context7 lautet: /Pushwoosh/pushwoosh-unity

Context7 einrichten

Anchor link to

Fügen Sie Context7 zur MCP-Konfiguration Ihres KI-Assistenten hinzu:

Führen Sie den folgenden Befehl aus:

Terminal window
claude mcp add --scope user context7 -- npx -y @upstash/context7-mcp --api-key YOUR_API_KEY

Beispiel-Prompts

Anchor link to

Sobald Context7 konfiguriert ist, können Sie Prompts in natürlicher Sprache verwenden, um das SDK zu integrieren. Nachfolgend finden Sie sofort einsatzbereite Prompts für gängige Aufgaben.

Grundlegende SDK-Integration

Anchor link to
Integrate Pushwoosh Unity SDK into my Unity project.
Requirements:
- Install com.pushwoosh.unity.core and com.pushwoosh.unity.android via UPM
- Initialize Pushwoosh with my App ID
- Register for push notifications and handle OnPushNotificationsReceived and OnPushNotificationsOpened events
Use Context7 MCP to fetch Pushwoosh Unity SDK documentation.

Tags und Benutzersegmentierung

Anchor link to
Show me how to use Pushwoosh tags in a Unity app for user segmentation.
I need to set string, int, and list tags, get tags, and set user ID.
Use Context7 MCP to fetch Pushwoosh Unity SDK documentation for SetStringTag and GetTags.

Events und Kauf-Tracking

Anchor link to
Integrate Pushwoosh event tracking in my Unity app. Show me how to:
- Post custom events with attributes
- Track in-app purchases with SendPurchase
Use Context7 MCP to fetch Pushwoosh Unity SDK documentation for PostEvent.

Was der KI-Assistent erhält

Anchor link to

Wenn Ihr Assistent Context7 nach dem Pushwoosh Unity SDK abfragt, erhält er:

  • Installationsanweisungen – UPM-Setup über npm-Registry und Git-URL
  • API-Referenz – öffentliche Klassen, Methoden und Event-Definitionen
  • Codebeispiele – C#-Snippets für gängige Anwendungsfälle
  • Plattform-Setup – Konfigurationsschritte für iOS und Android
  • Konfigurationsdetails – Initialisierungsparameter, EDM4U-Setup