Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Totara Mobile app uses Firebase Cloud Messaging (formerly known as Google Cloud Messaging) to deliver push notifications to registered devices. 

...

  1. Go to the Firebase console.

  2. In the centre of the project overview page, click the iOS icon to launch the setup workflow.

    Screenshot of project overview page.Image RemovedScreenshot of project overview page.Image Added
  3. If you've already added an app to your Firebase project, click Add app to display the platform options.

  4. Enter your app's bundle ID in the iOS bundle ID field - make sure to enter the bundle ID that your app is actually using. The bundle ID value is case-sensitive, and it cannot be changed for this Firebase iOS app after it's registered with your Firebase project.

    • XCode Bundle IDImage RemovedXCode Bundle IDImage Added
    • Image RemovedImage Added
  5. Optionally you can enter other app information; App nickname and App Store ID.

  6. Click Register app.

Downloading and installing the google services plist file

  1. Click Download GoogleService-Info.plist to obtain the Firebase iOS config file (GoogleService-Info.plist).Image Removed

    image-20240930-045454.pngImage Added
  2. Replace the sample GoogleService-Info.plist in the iOS folder.

iOS Google service plist location

...

  1. Go to the Firebase console.

  2. In the centre of the project overview page, click the Android icon or Add app to launch the setup workflow.

  3. Enter your app's package name in the Android package name field - make sure to enter the package name that your app is actually using. The package name value is case-sensitive, and it cannot be changed for this Firebase Android app after it's registered with your Firebase project.Gradle app idImage Removed

    image-20240930-045553.pngImage Added

    Image RemovedImage Added

  4. Optionally you can enter other app information; App nickname and Debug signing certificate SHA-1.

  5. Click Register app.

...

  1. Click Download google-services.json to obtain your Firebase Android config file (google-services.json).

    Image RemovedImage Added
  2. Move your config file into the module (app-level) directory of your app.

...

  • Verify if notifications permission is allowed on the device:

    1. Go to Settings and find the Totara app.

      Image RemovedImage Added



    2. Verify if notifications are allowed.

      Image RemovedImage Added



    3. Make sure you have allowed the Totara app to send you notifications when you first installed it.

      Image RemovedImage Added

If you are extending/customising the Totara Mobile app

...