Skip to content

Instantly share code, notes, and snippets.

@carlobortolan
Last active December 17, 2023 21:14
Show Gist options
  • Save carlobortolan/845141e175c2f43135b3893670f99c59 to your computer and use it in GitHub Desktop.
Save carlobortolan/845141e175c2f43135b3893670f99c59 to your computer and use it in GitHub Desktop.
Setup guide to enable push notifications for gocast

Push Notifications for gocast

See the firebase cloud messaging doc (https://firebase.google.com/docs/cloud-messaging) for more detailed information.

Prerequisites

Setup

FCM

  • Follow the setup guide to create a blank firebase project

  • Go to your project settings:

image

  • Go to "Cloud Messaging" and add a server key (if no key is set, try this)

  • Go to "General" and add a android and iOS app:

image

image

Gocast

  • Open your config.yaml (probably stored in ~/.TUM-Live/config.yaml) and add the following entry at the end of the file:
fcmServerKey: <insert-your-serverkey>

Gocast Mobile

  • Insert your specific app keys for android and iOS: image

image

image

How to use

  • Start your tumlive instance

  • Start a TUM-Live worker (see here)

  • Start your app and allow notifications:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment