onesignal icon indicating copy to clipboard operation
onesignal copied to clipboard

Fix for sending notifications with include_external_user_ids

Open aaronflorey opened this issue 4 years ago • 0 comments

I was having an issue when using include_external_user_ids; The OneSignal API was returning an error: Platforms You may only send to one delivery channel at a time. Make sure you are only including one of push platforms, isEmail, or isSms.

This is fixed by setting channel_for_external_user_ids to Push, so the API knows which players to send.

This is a quick fix, but could possibly be made configurable.

aaronflorey avatar Jan 22 '21 04:01 aaronflorey