πOne Signal Push Notifications
Starting from version 1.3, push notifications for both web and mobile apps are enabled in the script.
Last updated
Starting from version 1.3, push notifications for both web and mobile apps are enabled in the script.
Last updated
For the setup guide, you can follow either OneSignal's official video tutorial or our step by step explanation.
Visit the OneSignal official website.
Click on the NEW APP/WEBSITE button.
Enter your app name and select Web Push.
Then, input your Site name, Site URL, and upload or enter the default icon URL.
Once you've completed the Site Setup, the next step is Permission Prompt Setup.
The Slide Prompt is added by default, and you need to click on it to change the configuration.
For more information on this part, refer to the video documentation.
Then, click on ADD A PROMPT.
Select the SUBSCRIPTION BELL and customize its appearance using the options provided below.
Additional details about this process can be found in the video documentation.
The next step involves configuring the Welcome Notification, where you can modify the TITLE, MESSAGE, and LINK.
Once you've completed these steps, click on the Save button and then Finish.
Now that your app is active, you'll need to obtain the credentials created in this app.
You can find these credentials on the Keys & IDs page.
Once you've completed the setup, copy the credentials and add them to the .env file.