콘텐츠로 건너뛰기

AI 지원 통합

AI 코딩 어시스턴트를 사용하여 프로젝트에 Pushwoosh Android SDK를 통합하고 구성하세요. 어시스턴트를 Context7 MCP 서버에 연결하면 최신 SDK 문서, 코드 예제 및 API 레퍼런스에 액세스할 수 있어 정확하고 작동하는 통합 코드를 생성할 수 있습니다.

작동 방식

Anchor link to

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

Context7에서의 Pushwoosh Android SDK 라이브러리 ID: /pushwoosh/pushwoosh-android-sdk

Context7 설정

Anchor link to

AI 어시스턴트의 MCP 구성에 Context7을 추가하세요:

다음 명령어를 실행하세요:

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

예시 프롬프트

Anchor link to

Context7이 구성되면 자연어 프롬프트를 사용하여 SDK를 통합할 수 있습니다. 다음은 일반적인 작업을 위한 바로 사용할 수 있는 프롬프트입니다.

기본 SDK 통합

Anchor link to
Integrate Pushwoosh Android SDK into my Android project with Firebase Cloud Messaging (FCM).
Requirements:
- Add gradle dependencies (pushwoosh, pushwoosh-firebase)
- Configure AndroidManifest.xml with Pushwoosh App ID: YOUR_APP_ID
- Register for push notifications in MainActivity
Use Context7 MCP to fetch Pushwoosh Android SDK documentation.

푸시 알림 처리

Anchor link to
Show me how to handle push notification callbacks (receive, open) with
Pushwoosh SDK in Android. I want to add analytics tracking for these events.
Use Context7 MCP to fetch Pushwoosh Android SDK documentation for NotificationServiceExtension.

태그를 이용한 사용자 세분화

Anchor link to
Show me how to use Pushwoosh tags for user segmentation in Android.
Create example helper class with methods for setting and getting tags.
Use Context7 MCP to fetch Pushwoosh Android SDK documentation for setTags and getTags.

AI 어시스턴트가 얻는 것

Anchor link to

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

  • 설치 지침 — Gradle 종속성 및 매니페스트 구성
  • API 레퍼런스 — public 클래스, 메서드 및 인터페이스
  • 코드 예제 — 일반적인 사용 사례를 위한 Java 및 Kotlin 스니펫
  • 모듈 문서 — 각 SDK 모듈(Firebase, Huawei, Geozones 등)에 대한 가이드
  • 구성 세부 정보 — AndroidManifest.xml 설정, Firebase 설정 및 권한