Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Messages to a broader audience #4

Open
emotexplanet opened this issue May 20, 2021 · 1 comment
Open

Messages to a broader audience #4

emotexplanet opened this issue May 20, 2021 · 1 comment

Comments

@emotexplanet
Copy link

In sending messages to a broader audience what parameters from OneSignal should be use in this constructor?

OSAudience audience({"include_audience_name_1"}, {"excluded_audience_name_1"});

@Nightsd01
Copy link
Owner

You would need to initialize the SDK using both the App ID and REST API key.

Additionally, you can target larger audiences using OSAudience

OSAudience audience({"include_audience_name_1"});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants