Saltar al contenido

AI-assisted integration

Este contenido aún no está disponible en su idioma.

Use AI coding assistants to integrate and configure the Pushwoosh Unity SDK in your project. By connecting your assistant to the Context7 MCP server, it gets access to up-to-date plugin documentation, code examples, and API reference — so it can generate accurate, working integration code.

How it works

Anchor link to

Context7 is an MCP server that provides AI assistants with up-to-date library documentation. When your assistant has access to Context7, it can fetch the latest Pushwoosh Unity SDK docs, code snippets, and API reference directly during the conversation — instead of relying on potentially outdated training data.

The Pushwoosh Unity SDK library ID on Context7: /Pushwoosh/pushwoosh-unity

Setting up Context7

Anchor link to

Add Context7 to your AI assistant’s MCP configuration:

Run the following command:

Terminal window
claude mcp add context7 -- npx -y @anthropic-ai/context7-mcp@latest

Example prompts

Anchor link to

Once Context7 is configured, you can use natural language prompts to integrate the SDK. Below are ready-to-use prompts for common tasks.

Basic 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 and user segmentation

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 and purchase 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.

What the AI assistant gets

Anchor link to

When your assistant queries Context7 for the Pushwoosh Unity SDK, it receives:

  • Installation instructions — UPM setup via npm registry and Git URL
  • API reference — public classes, methods, and event definitions
  • Code examples — C# snippets for common use cases
  • Platform setup — iOS and Android configuration steps
  • Configuration details — initialization parameters, EDM4U setup