OneSignal push notification to all segments
问题 I am trying to send push notification from the admin device, to all devices (segment:"ALL"). I can't seem to get it to work with this code. let data = [ "contents": ["en": "\(message)"], "included_segments": ["All"], "excluded_segments": ["None"], "ios_badgeType": "Increase", "ios_badgeCount": 1 ] OneSignal.defaultClient().postNotification(data) The "None" segment exists and has 0 users in it. "All" has all active users. When I post the notification I get an error ERROR: Create notification