التكامل بمساعدة الذكاء الاصطناعي
استخدم مساعدي البرمجة بالذكاء الاصطناعي لدمج وتكوين إضافة Pushwoosh Flutter في مشروعك. من خلال ربط مساعدك بخادم Context7 MCP، يحصل على إمكانية الوصول إلى توثيق الإضافة المحدث، وأمثلة الكود، ومرجع API — حتى يتمكن من إنشاء كود تكامل دقيق وعملي.
كيف يعمل
Anchor link toContext7 هو خادم MCP يوفر لمساعدي الذكاء الاصطناعي توثيقًا محدثًا للمكتبات. عندما يتمكن مساعدك من الوصول إلى Context7، يمكنه جلب أحدث مستندات إضافة Pushwoosh Flutter، ومقتطفات الكود، ومرجع API مباشرة أثناء المحادثة — بدلاً من الاعتماد على بيانات تدريب قد تكون قديمة.
معرف مكتبة إضافة Pushwoosh Flutter على Context7 هو: /pushwoosh/pushwoosh-flutter
إعداد Context7
Anchor link toأضف Context7 إلى تكوين MCP الخاص بمساعد الذكاء الاصطناعي لديك:
نفّذ الأمر التالي:
claude mcp add context7 -- npx -y @anthropic-ai/context7-mcp@latestأضف إلى ملف تكوين MCP الخاص بك (.cursor/mcp.json أو ما يعادله):
{ "mcpServers": { "context7": { "command": "npx", "args": ["-y", "@upstash/context7-mcp@latest"] } }}أمثلة على الأوامر (Prompts)
Anchor link toبمجرد تكوين Context7، يمكنك استخدام أوامر اللغة الطبيعية لدمج الإضافة. فيما يلي أوامر جاهزة للاستخدام للمهام الشائعة.
التكامل الأساسي للإضافة
Anchor link toIntegrate Pushwoosh Flutter plugin into my Flutter project.
Requirements:- Install pushwoosh_flutter via pub- Initialize Pushwoosh with my App ID in main()- Register for push notifications and handle onPushReceived and onPushAccepted streams
Use Context7 MCP to fetch Pushwoosh Flutter plugin documentation.الوسوم (Tags) وتقسيم المستخدمين
Anchor link toShow me how to use Pushwoosh tags in a Flutter app for user segmentation.I need to set tags, get tags, and set user ID for cross-device tracking.
Use Context7 MCP to fetch Pushwoosh Flutter plugin documentation for setTags and getTags.تكامل صندوق الرسائل (Message Inbox)
Anchor link toIntegrate Pushwoosh Message Inbox into my Flutter app. Show me how to:- Display the inbox UI with custom styling using PWInboxStyle- Load messages programmatically- Track unread message count
Use Context7 MCP to fetch Pushwoosh Flutter plugin documentation for presentInboxUI.ما الذي يحصل عليه مساعد الذكاء الاصطناعي
Anchor link toعندما يستعلم مساعدك من Context7 عن إضافة Pushwoosh Flutter، فإنه يتلقى:
- إرشادات التثبيت — إعداد
pubspec.yamlوالتكوين الخاص بالمنصة - مرجع API — الفئات العامة، والوظائف، وتعريفات التدفق (stream)
- أمثلة على الكود — مقتطفات Dart لحالات الاستخدام الشائعة
- توثيق الإضافة — أدلة للإضافة الأساسية، و Inbox، و Geozones
- تفاصيل التكوين — معلمات التهيئة، وخطوات الإعداد لنظامي iOS و Android