astronaut
ProductPricingDocs
Sign in
Overview
IntroductionGetting started
Install
iOS SDKSource attributionCreator attribution
Using astronaut
The dashboardIdentifying usersEnvironmentsPush notifications

Push notifications

Upload your APNs credentials in the app’s settings, then request permission and forward the device token from your app delegate.

Register a token

// ask for permission (and register with APNs on grant)
Astronaut.shared.requestPushAuthorization()

// in didRegisterForRemoteNotificationsWithDeviceToken:
Astronaut.shared.handleRemoteNotificationRegistration(deviceToken: deviceToken)

Tokens are stored per device and automatically deactivated when they become invalid. Push credentials you upload are encrypted at rest and never returned to the browser.

Send a notification

Once tokens are registered, you can send a notification to a user from the dashboard. Each send is recorded against that user, so it shows up inline in their journey (with the title and body) — and lays the groundwork for delivery and open-rate reporting.

← PreviousEnvironments
astronaut
Product
FeaturesPricingDocsLive demo
Legal
PrivacyTerms
© 2026 astronaut.shhello@astronaut.sh