Skip to content
Learnomy

Mobile Push Notifications

Learnomy can send a push notification to a member's phone for the same events that already trigger an in-app notification or email. This is off by default. If your site doesn't have a mobile app, there's nothing to set up here.

Overview

Two settings control this, in two different places:

  • Mobile app (Learnomy Settings > Settings > General > Access Control) turns on whether the Learnomy mobile app can connect to your site at all. It's on by default and requires Learnomy Pro with an active license.
  • Push (Learnomy Settings > Emails) turns on whether Learnomy actually sends notifications to the devices that have connected. This is what this page covers.

Device tokens from the mobile app have been collected since Learnomy 1.0. Push notifications were added in 1.7.0 as the missing piece that actually sends to them.

Turning on push

  1. Go to Learnomy Settings and click Emails in the sidebar. This section only appears when the Notifications module is active.
  2. Scroll to the Mobile push notifications card.
  3. Switch on Enable push ("Send notifications to registered mobile devices").
  4. Paste your Firebase service account JSON into the Firebase service account field.
  5. Click Save Changes.

Once saved, the card confirms the status directly below the field: "Push is configured and ready" when everything checks out, or a specific error if something's missing.

Getting a Firebase service account

Learnomy needs a Firebase service account to sign push messages through Firebase Cloud Messaging (FCM), which delivers to both Android and iOS.

  1. Open the Firebase console and select your project (or create one for your app).
  2. Go to Project settings > Service accounts.
  3. Click Generate new private key. Firebase downloads a JSON file.
  4. Open that file and paste its entire contents into the Firebase service account field.

Learnomy checks that the pasted JSON has a project_id, a client_email, and a private_key. If you paste the wrong file, for example the web app config instead of the service account key, Learnomy tells you exactly what's missing rather than failing silently.

If your app is built on Expo

If your mobile app uses Expo's push service, you don't need any of the above. Expo relays push messages to Android and iOS on its own credentials, so those devices already receive notifications with zero setup on your side. The Firebase service account is only needed for devices that register a non-Expo token.

What members receive

Once push is on, members get the same notifications on their phone that they already receive in-app and by email, for example enrollment confirmations, course completions, and certificate issuance. See Emails and Announcements for the full notification list; the same on/off toggles for each notification type also control push.

Tips

  • Push delivery is queued in the background. Sending to a member's devices never slows down checkout, a payment webhook, or any other request.
  • Turning off Enable push stops all push delivery immediately without affecting in-app notifications or email.
  • If a member has no registered devices, enabling push has no effect for them; there's simply nothing to send to.

Related