Cannot set the segments where to send and the launch url
-
I changed the ‘included_segments’ to (‘mySegmentName’) and the notification went to all users again. Besides, i changed ‘url’ to ‘https://google.gr’ and when i tap on notification opens the post’s url. What is going on? Why does not work as it is supposed? Here is the part of code (plugin’s code) i make changes:
$fields = array(
‘app_id’ => $onesignal_wp_settings[‘app_id’],
‘headings’ => array(“en” => $site_title),
‘included_segments’ => array(‘All’),
‘isAnyWeb’ => true,
‘url’ => get_permalink($post->ID),
‘contents’ => array(“en” => $notif_content)
);
- The topic ‘Cannot set the segments where to send and the launch url’ is closed to new replies.