Follow this video or read the article below:

There are four steps to this process: 

  1. Enable push notifications for the app ID – in your Apple developer account

  2. Create an APNs key – in your Apple developer account

  3. Upload details from APNs key – in Fliplet Studio

  4. Setup the app to ask users to accept notifications – in Fliplet Studio

1. Enable push for your app:

  • Go to your Apple Developer Centre and click on “Certificates, IDs & Profiles”

  • Click on Identifiers, and click on the app you are configuring push notifications for.

    • If you don’t have an app ID yet, click on the blue + button at the top and add it there. You need to make sure the bundle ID added here is the same as the one used in Fliplet Studio. You can check your apps bundle ID in the Publish section if you select ‘Publish to Apple Devices’ and go to ‘App technical details’ 
  • Scroll down and check the box next to Push Notifications and then save your changes

 

2. Create an APNs key:

  • Still in your Apple developer account,  go to ‘Keys’ and click the + to create a new key

  • Select the Apple Push Notification service (APNs) and give it a name

  • On the next screen, click confirm and then your APNs key is created. 

  • Download it from here, but make sure to store this somewhere safe as it cannot be downloaded again

  • Note: you can re-use your APNs key across any of your apps and this key doesn’t expire

 

3.  Upload details from APNs key in Fliplet Studio:

  • Once you have downloaded your APns key, head back into Fliplet Studio, 

  • Go to the ‘Publish’ section, and click Manage under ‘Publish to Apple’  

  • Select the Push notifications tab. This is where you need to add the details from the APNs key you just created in Fliplet Studio 

  • You can find the Key ID in your Apple developer account under ‘Keys’ and ‘All’. Click on your specific key to see the information:

  • Paste this into the Key ID section in Fliplet Studio
  • Open the APNs file you downloaded (should be a p8 file) in a text editor or your browser window to get the key and copy everything, including the —- Begin private key —- part

  • Paste the text of the Key into the Authentication Key section in Fliplet Studio
  • Click save

 

4. Setup the app to ask users to sign up for notifications

  • In Fliplet Studio, go to  ‘Send notifications’ in the publish section

  • In the ‘Permission popup’ tab, either select the option to “Show notification pop-up automatically” or copy the snippet and paste that into a screen of your choice if you want the user to be asked on a specific screen

  • Click save

The final step is to publish the app so that the settings are applied to your live app. Do this by clicking on ‘Update your app’ and select your update method. For more help on publishing your app, please read this article.