Skip to content

Support for segments in OneSignal Notifier #50057

Closed
@raymondschouten

Description

@raymondschouten

Description

Currently the OneSignal Notifier only supports sending push messages to single recipients, where the recipient is the "OneSigna Player ID". In order to send push messages to multiple recipients, segments can be used where the only difference in the constructed $options in the OneSignalTransport is:

$options['included_segments'] = [...];

instead of

$options['include_player_ids'] = [$recipientId];

I don't know what the way to go would be of implementing this...

See https://documentation.onesignal.com/reference/create-notification#send-to-segments

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions