PS Mobile Manager

Setting up push notifications

Without any setup, the app checks the shop by itself and notifies you about orders with a delay of up to about 15 minutes. After you complete this guide, notifications arrive within a few seconds.

You do this once, on a computer, in about 5 minutes:

  1. you create a free Firebase project (a Google service),
  2. you download two files from it,
  3. you upload them in the shop back office.

All you need is a Google account.

1. Create a Firebase project

Firebase is free.

  1. Go to console.firebase.google.com and sign in with your Google account.
  1. Click the “Get started by setting up a Firebase project” tile. If you already have other projects, you will see “Create a project” instead.
Firebase console start page with the Get started tile
  1. Enter a project name, e.g. your shop name: letters, digits and spaces only, no dots. Click “Continue”.
Project name field
  1. Leave the “Enable Gemini in Firebase” switch off. Click “Continue”.
Gemini screen with the switch turned off
  1. Turn the “Enable Google Analytics for this project” switch off as well. Click “Create project” and wait until the project is ready.
Google Analytics screen with the switch turned off

2. Add an Android app and download the first file

  1. On the project page click “+ Add app” below the project name.
Project page with the Add app button
  1. From the icons that appear, choose Android (the green robot, second from the left).
Platform icons, the second one is Android
  1. In the “Android package name” field paste the following:
com.psmobilemanager.app

Leave the second field empty. Click “Register app”.

App registration form with the package name
  1. Click “Download google-services.json”. This is the first file.
Download google-services.json button
  1. Skip the rest of the wizard, the remaining steps are for developers. Close it with the X in the top-left corner.

3. Download the second file: the service account key

  1. In the left menu click “Settings” (the gear icon) and choose “Project settings”.
Project page with the Settings menu on the left
  1. Open the “Service accounts” tab.
  1. Click “Generate new private key” and confirm. A JSON file with a long name downloads. This is the second file.
Service accounts tab with the Generate new private key button

This file is secret. Do not send it to anyone. After uploading it to the shop (step 4), delete it from your disk.

4. Upload both files in the shop back office

  1. In the shop back office open Modules → Mobile Manager and scroll to the “Notifications” section.
  1. In the “1. App config file (google-services.json)” field choose the first file and click “Upload app config”.
  1. In the “2. Service-account key (JSON)” field choose the second file and click “Upload key”.
  1. A green “uploaded” label appears next to both fields. Done.
Notifications section in the shop back office, both files marked as uploaded

Phone paired earlier? Just open the app on it and it will switch to instant notifications by itself.

Instant notifications require an active licence. In demo mode you can upload the files, but the app still checks the shop by itself about every 15 minutes.