You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just add included_segments and put any random value...
$params = [
'contents' => [
'en' => $message,
],
'target_channel' => 'push',
'include_aliases' => [
'external_id' => ["user_{$user->id}"],
],
'included_segments' => ["not_exist_just_a_temp_workaround"], // TODO: this is for temporary, after the fix released, can update package and remove this
];
OneSignalClient::async()->sendNotificationCustom($params);
syamsoul
changed the title
sendNotificationCustom method send to all instead of external_id
sendNotificationCustom method send to all instead of "include_aliases"
Jun 3, 2024
the code below will send to all instead of specific users...
however, i already found the issue,,, i will create PR for that
The text was updated successfully, but these errors were encountered: