AI 지원 통합
AI 코딩 어시스턴트를 사용하여 프로젝트에 Pushwoosh React Native 플러그인을 통합하고 구성하세요. 어시스턴트를 Context7 MCP 서버에 연결하면 최신 플러그인 문서, 코드 예제 및 API 참조에 액세스할 수 있어 정확하고 작동하는 통합 코드를 생성할 수 있습니다.
작동 방식
Anchor link toContext7은 AI 어시스턴트에게 최신 라이브러리 문서를 제공하는 MCP 서버입니다. 어시스턴트가 Context7에 액세스하면 잠재적으로 오래된 학습 데이터에 의존하는 대신 대화 중에 최신 Pushwoosh React Native 플러그인 문서, 코드 스니펫 및 API 참조를 직접 가져올 수 있습니다.
Context7의 Pushwoosh React Native 플러그인 라이브러리 ID: /pushwoosh/pushwoosh-react-native-plugin
Context7 설정
Anchor link toAI 어시스턴트의 MCP 구성에 Context7을 추가하세요:
다음 명령을 실행합니다:
claude mcp add context7 -- npx -y @anthropic-ai/context7-mcp@latestMCP 구성 파일(.cursor/mcp.json 또는 이에 상응하는 파일)에 추가합니다:
{ "mcpServers": { "context7": { "command": "npx", "args": ["-y", "@upstash/context7-mcp@latest"] } }}예시 프롬프트
Anchor link toContext7이 구성되면 자연어 프롬프트를 사용하여 플러그인을 통합할 수 있습니다. 아래는 일반적인 작업을 위한 바로 사용할 수 있는 프롬프트입니다.
기본 플러그인 통합
Anchor link toIntegrate Pushwoosh React Native plugin into my React Native project.
Requirements:- Install pushwoosh-react-native-plugin via npm- Initialize Pushwoosh with my App ID in App component- Register for push notifications and handle pushReceived and pushOpened events
Use Context7 MCP to fetch Pushwoosh React Native plugin documentation.푸시 알림 처리
Anchor link toShow me how to handle push notification callbacks (receive, open) withPushwoosh React Native plugin. I want to process push payload data andnavigate to specific screens based on custom data.
Use Context7 MCP to fetch Pushwoosh React Native plugin documentation for push event handling.태그를 사용한 사용자 세분화
Anchor link toShow me how to use Pushwoosh tags for user segmentation in a React Native app.I need to set tags, get tags, and set user ID for cross-device tracking.
Use Context7 MCP to fetch Pushwoosh React Native plugin documentation for setTags and getTags.AI 어시스턴트가 얻는 것
Anchor link to어시스턴트가 Pushwoosh React Native 플러그인에 대해 Context7에 쿼리하면 다음을 수신합니다:
- 설치 지침 — npm/yarn 설정 및 플랫폼별 구성
- API 참조 — 공개 메서드, 이벤트 리스너 및 콜백 시그니처
- 코드 예제 — 일반적인 사용 사례를 위한 JavaScript 및 TypeScript 스니펫
- 이벤트 문서 — pushReceived, pushOpened 및 딥 링크 이벤트 핸들러
- 구성 세부 정보 — 초기화 매개변수, iOS 및 Android 설정 단계