-
Create file with name
playerids.txt
contains player IDs separated by new lines. -
Issue the command:
APP_ID=<onesignal api key> ./onesignal-client<.exe|.mac|.linux> <tag list>
example to run on mac:
APP_ID=3e64a763-0557-4094-9bbb-345fded09cd9 ./onesignal-client.mac '{"isApproved": true}'
example to run on linux:
APP_ID=3e64a763-0557-4094-9bbb-345fded09cd9 ./onesignal-client.linux '{"isApproved": "", "isVerfied": true}'
see onesignal docs for more about tags