Prerequisites
Before you configure your Marketing Cloud environment to send push notifications, set up the push notification services and download the required authentication and configuration files.
Configure Apple Push Notification Service for iOS
If you plan to send push notifications to iOS devices, configure Apple Push Notification service (APNs) and create a .p8 key. For information about creating a .p8 key, see Apple Developer Documentation: Create a private key to access a service.
Store your key in a private and secure location. The key isn’t saved in your Apple Developer account, so you can’t download it again if you lose it.
It isn’t necessary to generate separate .p8 keys for your production and sandbox environments. Apple uses the same key to send notifications to apps, regardless of the environment.
Configure Google Firebase for Android
If you plan to send push notifications to Android devices, configure Google Firebase for your app and download a configuration file. For information about obtaining a configuration file, see Firebase Documentation: Add Firebase to your Android project.