AI-असिस्टेड इंटीग्रेशन
अपने प्रोजेक्ट में Pushwoosh React Native प्लगइन को इंटीग्रेट और कॉन्फ़िगर करने के लिए AI कोडिंग सहायकों का उपयोग करें। अपने सहायक को Context7 MCP सर्वर से कनेक्ट करके, इसे अप-टू-डेट प्लगइन डॉक्यूमेंटेशन, कोड उदाहरण और API रिफरेंस तक पहुंच मिलती है — ताकि यह सटीक, काम करने वाला इंटीग्रेशन कोड जेनरेट कर सके।
यह कैसे काम करता है
Anchor link toContext7 एक MCP सर्वर है जो AI सहायकों को अप-टू-डेट लाइब्रेरी डॉक्यूमेंटेशन प्रदान करता है। जब आपके सहायक के पास Context7 तक पहुंच होती है, तो यह बातचीत के दौरान सीधे नवीनतम Pushwoosh React Native प्लगइन डॉक्स, कोड स्निपेट्स और API रिफरेंस प्राप्त कर सकता है — बजाय संभावित रूप से पुरानी ट्रेनिंग डेटा पर निर्भर रहने के।
Context7 पर Pushwoosh React Native प्लगइन लाइब्रेरी ID: /pushwoosh/pushwoosh-react-native-plugin
Context7 सेट अप करना
Anchor link toअपने AI सहायक के MCP कॉन्फ़िगरेशन में Context7 जोड़ें:
निम्नलिखित कमांड चलाएँ:
claude mcp add --scope user context7 -- npx -y @upstash/context7-mcp --api-key YOUR_API_KEYअपनी MCP कॉन्फ़िग फ़ाइल (.cursor/mcp.json या समकक्ष) में जोड़ें:
{ "mcpServers": { "context7": { "command": "npx", "args": ["-y", "@upstash/context7-mcp@latest"] } }}उदाहरण प्रॉम्प्ट्स
Anchor link toएक बार Context7 कॉन्फ़िगर हो जाने के बाद, आप प्लगइन को इंटीग्रेट करने के लिए नेचुरल लैंग्वेज प्रॉम्प्ट्स का उपयोग कर सकते हैं। नीचे सामान्य कार्यों के लिए उपयोग के लिए तैयार प्रॉम्प्ट्स दिए गए हैं।
बेसिक प्लगइन इंटीग्रेशन
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 सेटअप स्टेप्स