OneSignal / OneSignal-Website-SDK

OneSignal is a push notification service for web and mobile apps. This SDK makes it easy to integrate your website with OneSignal Push Notifications. https://onesignal.com
Other
389 stars 115 forks source link

Change `sendSelfNotification` to use local push #1180

Closed rgomezp closed 4 months ago

rgomezp commented 4 months ago

Description

1 Line Summary

Change the sendSelfNotification method to use local push functionality.

Systems Affected

Validation

Testing

OneSignal.sendSelfNotification('Title', 'message', 'https://google.com', 'https://t3.ftcdn.net/jpg/03/08/73/34/360_F_308733458_QBzwMVu8ZzdGEp9Wwq1fAYaDgtP3UVwl.jpg', { test: 'foo' }, [{
    action: 'like-button',
    title: 'Like',
    icon: 'https://image.similarpng.com/very-thumbnail/2020/06/Icon-like-button-transparent-PNG.png'
}]);
Feature Chrome Firefox Safari
Title
Message
Launch Url Click
Data
Button Displayed
Buttons Displayed
Button Click

Checklist

Programming Checklist Interfaces:

Functions:

Typescript:

Other:

Screenshots

Info

Checklist


Related Tickets



This change is Reviewable