Skip to content

Sample app demonstrating OneSignal integration into an iOS app built with SwiftUI.

Notifications You must be signed in to change notification settings

OneSignalDevelopers/onesignal-ios-sample

Repository files navigation

OneSignal

Quickstart   •   Website   •   Docs   •   Examples

OneSignal iOS Sample

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 how to integrate OneSignal into an iOS app built with SwiftUI to handle your messaging needs, including push notifications, SMS text messages, email, and in-app messaging. Feel free to use this sample as a reference for your own iOS integration.

In-app Message App Launch

Configure in-app messages to present to users on app launch.

In-app Message app launch

In-app Message Push Permission Prompt

Prompt user for push permission without using native prompt.

Push permission prompt in-app message

Live Activity Sporting Event

Present live information to user with Live Activities.

Live activity for sporting event

🚦 Getting started

Please refer to the OneSignal iOS SDK Setup for instructions to get started with Push & In-app Messages and the OneSignal Live Activities Quickstart Guide to get started with Live Activies.

Other resources 📚

❤️ Developer Community

For additional resources, please join the OneSignal Developer Community.

Get in touch with us or learn more about OneSignal through the channels below.