The notifications tab allows you to send push notifications to all users of your app. Frontcraft uses the Google Firebase service in order to send the push notifications. You need a Firebase account to use this feature.

Setup Push notifications

To use the firebase push notifications, you first need to create a Firebase project for your app.

  • Log in to the firebase console.
  • Click on “Add project”, enter a name for your project, e.g. your app name and press “Continue”.
  • You do not need to enable google analytics for push notifications. Press “Create Project”.
  • Once your project is created, press “Continue”. This takes you to your firebase project page.
  • Click on the gear at the top left of the page and press on “Project Settings”.
  • Go to the “Cloud Messaging” tab and copy the value of the “Server Key”.
  • Go to the notifications tab of your Frontcraft project dashboard and paste the key into the “Notification Auth Key” field. Press “Save”.
  • The next steps depend on the platform that you want to send your notifications to.
Setup iOS
  • Click on the gear at the top left of the page and press on “Project Settings”.
  • Under “Your apps”, click on the iOS button (If you already have an app, click the “Add app” button).
  • Enter your app bundle ID. This can be found in your Frontcraft project dashboard. Optionally enter a nickname and store ID.
  • Press “Register app” and download the “GoogleService-Info.plist” file.
  • Click on “Next” 3 times and finally on “Continue to console”.
  • You now have a firebase iOS project. Next, open your app in the Frontcraft app editor.
  • On the top left of the page, go to “Settings”, then “iOS”.
  • Check the “Enable push notifications” box.
  • In the input that appears, choose the “GoogleService-Info.plist” file and press “Upload file”.
Setup Android
  • Click on the gear at the top left of the page and press on “Project Settings”.
  • Under “Your apps”, click on the Android button (If you already have an app, click the “Add app” button).
  • Enter your app bundle ID as the package name. This can be found in your Frontcraft project dashboard. Optionally enter a nickname.
  • Press “Register app” and download the “google-services.json” file.
  • Click on “Next” 2 times and finally on “Continue to console”.
  • You now have a firebase Android project. Next, open your app in the Frontcraft app editor.
  • On the top left of the page, go to “Settings”, then “Android”.
  • Check the “Enable push notifications” box.
  • In the input that appears, choose the “google-services.json” file and press “Upload file”.