Skip to content
المشاريع

OneSignal/OneSignal-Website-SDK

عرض على GitHub

حول

تسهّل OneSignal التفاعل مع العملاء، وهي أسرع خدمة وأكثرها موثوقية لإرسال الإشعارات الفورية والرسائل داخل التطبيق والرسائل النصية القصيرة والبريد الإلكتروني. يسهّل هذا المكوّن الإضافي إضافة OneSignal إلى موقعك الإلكتروني. https://onesignal.com

الإنتاجية والأتمتة

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل



Showing web push notifications from Chrome, Safari, and Firefox

OneSignal Web Push SDK

OneSignal is the market leader in customer engagement, powering mobile push, web push, email, and in-app messages.

This SDK allows your site's visitors to receive push notifications from you. Send visitors custom notification content, target specific users, and send automatically based on triggers.

Getting Started

View our documentation to get started.

Please reference the OneSignal SDK on your webpage via our CDN URL (listed in our setup documentation) instead of copying the source into another file. This is because our SDK updates frequently for new features and bug fixes.

Local Development

Install the dependencies vp install then you can vp run dev. This will start a dev server on port 4001. The code will use navigator register on OneSignalSDKWorker.js to register the code as service worker.

Preview

To preview with the actual bundle, cd preview && vp run start — the script builds the SDK at the repo root and then starts the Vite-based sandbox server on https://localhost:4001. The default (start:dev) targets the production OneSignal API; start:dev-stag is also available for staging. See preview/README.md for the full setup.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…