OneSignal makes engaging customers simple and is the fastest, most reliable service to send push notifications, in-app messages, SMS, and emails.
This project demonstrates sending push notifications using the OneSignal Rust API client. You can use this project as a boilerplate or reference to start your project.
This project assumes that you already have a OneSignal app created with push notifications setup. If you don't yet have a OneSignal app, create one first, then follow the steps below to integrate the OneSignal SDK into your Android or iOS app.
- Make a copy of
.env.example
and rename it to.env
- Replace the variable descriptions with its respective value from your OneSignal app on the dashboard.
- Run the command
cargo run
You can ask questions about the OneSignal xxx SDK and related topics in the onesignal-xxx-sdk repository.
🙋♂️ Ask a question
If you receive an error message or get blocked by an issue, please create a bug report!
For additional resources, please join the OneSignal Developer Community.
Get in touch with us or learn more about OneSignal through the channels below.
- Follow us on Twitter to never miss any updates from the OneSignal team, ecosystem & community
- Join us on Discord to be a part of the OneSignal Developers community, showcase your work and connect with other OneSignal developers
- Read the OneSignal Blog for the latest announcements, tutorials, in-depth articles & more.
- Subscribe to us on YouTube for walkthroughs, courses, talks, workshops & more.
- Follow us on Twitch for live streams, office hours, support & more.
Give a ⭐️ if this project helped you, and watch this repo to stay up to date.