Problem/Motivation

Unable to send notifications from Drupal site.

Proposed resolution

Implement custom service that provides opportunity to send automatic notifications from Drupal site.

Remaining tasks

  1. Create patch
  2. Review/RTBC
  3. Commit

User interface changes

to do.

API changes

to do.

Data model changes

None

Release notes snippet

Implemented REST API service to send notifications from Drupal site.

Original report by [elvin]

Hello

Is it possible to extend this module to perform similar functions like they have done for the wordpress version. Over there they have over 40000 installations which means everybody is asking for this.

https://wordpress.org/plugins/onesignal-free-web-push-notifications/

Features:

Supports Chrome (Desktop & Android), Safari (Mac OS X), and Firefox (Desktop) on both HTTP and HTTPS sites.

Automatic Notifications – Send notifications to followers every time you publish a new post. Or set up a reminder that gets automatically sent to them if they haven’t visited for a few days.

Targeting Segments – Send notifications to specific visitors based on language, number of times they’ve visited your blog, or even set up your own user attributes that you can target.

Opt-In Customization – Choose when and how to ask your visitors to opt-in to browser notifications. Customize the prompt they first see.

Real Time Analytics – See your notifications being delivered in real time, and watch them as they convert into visitors.

A/B Testing – Try out different messages to a smaller set of your visitors to figure out which messages are more effective and then send the more effective message to the rest of your visitors!

Scheduled Notifications – Schedule notifications to be delivered in the future, based on a user’s time zone, or even based on the same time of day they last visited your website.

Comments

elvin created an issue. See original summary.

i-trokhanenko’s picture

Title: feature request if possible » Implement OneSignal REST API
Version: 7.x-1.x-dev » 8.x-1.x-dev
Assigned: Unassigned » i-trokhanenko
Category: Feature request » Task
Issue summary: View changes

Updated issue description.

tregismoreira’s picture

That's an interesting feature request. It would be a good improvement for the module.

But given that it would change a bit the module structure, I would suggest to release in a 2.x branch.

Do you have a patch?

i-trokhanenko’s picture

Hi @tregismoreira, I'm still working on it.
I agree with you about 2.x branch.

abu-zakham’s picture

Status: Active » Needs review
StatusFileSize
new11.5 KB
new81.53 KB

I've create new form for admin to send notification to subscribed users from Drupal site.

geoanders’s picture

Version: 8.x-1.x-dev » 8.x-2.x-dev
Assigned: i-trokhanenko » Unassigned
Category: Task » Feature request
Priority: Major » Normal
geoanders’s picture

Status: Needs review » Closed (outdated)