Qonversion uses Apple Push Notifications service (APNs) with the .p8 certificate to send push notifications on the iOS platform. It is the unified key to send push notifications in sandbox and production. To set up push notifications with Qonvresion using APNs you need the following data:
- APNs Key;
- Key ID;
- Bundle ID;
- Team ID.
Navigate to Certificates, Identifiers & Profiles in your Developer Center. Click the "plus" button.
Chose the key name and select Apple Push Notifications service (APNs) from the list.
Copy the key ID and save the downloaded key securely.
Download Your Key
Save your key securely. After downloading the key, it cannot be re-downloaded as the server copy is removed.
Navigate to Apple Developer and select Identifiers:
Copy your Bundle ID and Team ID on this page. You will need this data for the following steps:
Navigate to your Qonversion project's settings page and provide the values in the following fields:
- App Store Bundle ID;
- App Store Push Key File;
- Push Key ID;
- Team ID.
Make sure to use server-to-server notification
Activate server-to-server notifications so Qonversion gets events immediately as they happen. Otherwise, there might be a delay between an event and the time Qonversion receives the event and sends a push notification.
You have to add Firebase to your Android project before starting with the push notifications set up. After you have added Firebase to your app you can follow the steps below.
Navigate to your Firebase projects page and select your project.
Click the Settings icon on the left menu and select Project Settings.
Switch to Service accounts tab and click on Generate new private key at the bottom of the page.
Click on the Generate key button. Your private key will be created and automatically downloaded.
Navigate back to the General tab and copy Firebase Project ID:
Navigate to your Qonversion project's settings page and provide the values for the following fields:
- Android package name;
- Firebase project ID, that you have copied at the previous step;
- Firebase service account key, that you have generated at the first step.
Updated about 1 month ago