Skip to content
프로젝트

OneSignal/OneSignal-Website-SDK

GitHub에서 보기

소개

OneSignal은 고객 참여를 간편하게 지원하며, 푸시 알림, 인앱 메시지, SMS, 이메일을 전송하는 가장 빠르고 신뢰할 수 있는 서비스입니다. 이 플러그인을 사용하면 웹사이트에 OneSignal을 쉽게 추가할 수 있습니다. https://onesignal.com

생산성 및 자동화

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original



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.

관련 프로젝트 살펴보기

불러오는 중…