التكامل بمساعدة الذكاء الاصطناعي
استخدم مساعدي البرمجة بالذكاء الاصطناعي لدمج وتكوين إضافة 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 --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"] } }}أمثلة على الأوامر (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