parse-server-modules / parse-server-onesignal-push-adapter

OneSignal push adapter for parse-server
MIT License
32 stars 28 forks source link

Removing non-alphanumeric characters from tokens #36

Open thibauddavid opened 7 years ago

thibauddavid commented 7 years ago

include_ios_tokens is a legacy key which should be replaced by include_player_ids. As an alternative to embedding iOS SDK to get player_ids, docs specifies that in an ios_token All non-alphanumeric characters must be removed. /!\ Please consider the warning: "Only works with Production tokens"

See: https://documentation.onesignal.com/v3.0/reference#section-send-to-specific-devices