- MigratoryData server 6.0.16 or later
- Firebase account
- Java 1.8 or later
./gradlew clean build shadowJar
-
Create Firebase Application:
- Go to the Firebase dashboard and create a new application.
- Navigate to Project Settings -> Service accounts.
- Generate a new private key, which will be used to send notifications to users via the Firebase SDK.
- Save the private key as
fcm-credentials.json
in the root directory of your project.
-
Configuration for Docker Compose:
- If Docker Compose is installed, you can evaluate the plugin using the configuration found in the
docker
directory. - Make sure the
fcm-credentials.json
file is present in the root directory of your project. - Navigate to the
docker
directory and execute therun.sh
command. - Validate the plugin with the flutter chat app demo or the android chat app demo
- If Docker Compose is installed, you can evaluate the plugin using the configuration found in the
-
Extension Installation:
- Copy the extension JAR from
build/libs/presence.jar
to theextensions
folder of your MigratoryData server installation. - Make sure to also move the
fcm-credentials.json
file to theextensions
directory of your MigratoryData server. - Configure the extension by editing the config file
migratorydata.conf
of the MigratoryData server and add the following lines. Restart each MigratoryData server of the cluster.
- Copy the extension JAR from
ClusterDeliveryMode = Guaranteed
Extension.Presence = true
For further details, please refer the documentation at: