There are two services available for sending push notifications in chatwoot,
-
The first service involves sending push notifications through a relay server.
-
The second service involves sending push notifications directly through the Chatwoot server.
The two environment variables
ENABLE_PUSH_RELAY_SERVER
and
ENABLE_PUSH_RELAY_SERVER
will determine the flow of the push notifications.
-
If you have added the
FCM_SERVER_KEY
variable, the push notification will be sent to your custom-built mobile apps. -
If you haven't added the
FCM_SERVER_KEY
variable andENABLE_PUSH_RELAY_SERVER
is true, the push notification will be sent to official mobile apps. -
If you haven't added the
FCM_SERVER_KEY
variable andENABLE_PUSH_RELAY_SERVER
is false, the push notification will not be sent to any device.
To make the push notifications work on a custom build, you must configure Firebase. Detailed instructions on how to do this can be found here. Please note that notifications will not work in the official iOS app.
The summary is that you need to either use custom builds for both Android and iOS apps or use the official apps for both platforms.