iOS Setup
Configure APNs for push notifications
1. Generate an APNs key
In your Apple Developer account, go to Certificates, Identifiers & Profiles → Keys, and create a new key with the Apple Push Notifications service (APNs) capability enabled. Download the .p8 file — Apple only lets you download it once.
2. Upload credentials to Nutifar
From your tenant dashboard, go to Push → iOS and provide:
- The
.p8key file - Key ID (shown next to the key in your Apple Developer account)
- Team ID (found in your Apple Developer account membership details)
- Your app's bundle identifier
Nutifar needs these to sign requests to APNs on your behalf. Store the .p8 file securely before uploading — it can't be re-downloaded from Apple if lost.
3. Register device tokens
Once credentials are set, your app can register device tokens — see Register a device.
Sandbox vs. production
Nutifar automatically routes to APNs sandbox or production based on your app's build configuration. Development builds use sandbox APNs; TestFlight and App Store builds use production.