콘텐츠로 건너뛰기

AI 지원 연동

AI 코딩 어시스턴트를 사용하여 프로젝트에 Pushwoosh Unity SDK 를 연동하고 구성합니다. 어시스턴트를 Context7 MCP 서버에 연결하면 최신 플러그인 문서, 코드 예제 및 API 참조에 액세스할 수 있으므로 정확하고 작동하는 연동 코드를 생성할 수 있습니다.

작동 방식

Anchor link to

Context7 은 AI 어시스턴트에게 최신 라이브러리 문서를 제공하는 MCP 서버입니다. 어시스턴트가 Context7 에 액세스할 수 있으면 잠재적으로 오래된 학습 데이터에 의존하는 대신 대화 중에 최신 Pushwoosh Unity SDK 문서, 코드 스니펫 및 API 참조를 직접 가져올 수 있습니다.

Context7 의 Pushwoosh Unity SDK 라이브러리 ID: /Pushwoosh/pushwoosh-unity

Context7 설정

Anchor link to

AI 어시스턴트의 MCP 구성에 Context7 을 추가합니다:

다음 명령을 실행합니다:

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

프롬프트 예시

Anchor link to

Context7 이 구성되면 자연어 프롬프트를 사용하여 SDK 를 연동할 수 있습니다. 아래는 일반적인 작업에 즉시 사용할 수 있는 프롬프트입니다.

기본 SDK 연동

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.

태그 및 사용자 세분화

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.

이벤트 및 구매 추적

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.

AI 어시스턴트가 얻는 정보

Anchor link to

어시스턴트가 Context7 에 Pushwoosh Unity SDK 를 쿼리하면 다음을 수신합니다:

  • 설치 지침 — npm 레지스트리 및 Git URL 을 통한 UPM 설정
  • API 참조 — 공개 클래스, 메서드 및 이벤트 정의
  • 코드 예제 — 일반적인 사용 사례를 위한 C# 스니펫
  • 플랫폼 설정 — iOS 및 Android 구성 단계
  • 구성 세부 정보 — 초기화 매개변수, EDM4U 설정