Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push Notifications Not Working in Custom Mobile App with Self-Hosted Server #778

Open
avinash-marsdevs opened this issue May 3, 2024 · 1 comment

Comments

@avinash-marsdevs
Copy link

avinash-marsdevs commented May 3, 2024

Describe the Bug
Push notifications are not working in our custom Chatwoot mobile app connected to a self-hosted Chatwoot server. Despite updating the ANDROID_BUNDLE_ID, setting the ENABLE_PUSH_RELAY_SERVER environment variable to true/false, and updating the FCM_SERVER_KEY and Google services JSON for Android, push notifications fail to be received.

To Reproduce
Steps to reproduce the behavior:

  1. Update the server with the new FCM_SERVER_KEY, ANDROID_BUNDLE_ID, and set ENABLE_PUSH_RELAY_SERVER to true.
  2. Update the mobile app with the new Google services JSON.
  3. Send a message to trigger a push notification.
  4. Notice that the notification does not appear on the device.

Expected Behavior
Expected that the push notifications would be received on the device whenever a new message is sent or received in the app.

Observed Behavior
No push notifications are received on the device. No relevant error messages appear in the server logs, indicating a silent failure or misconfiguration.

Environment

  • Chatwoot Self-Hosted Server Version: 3.4.0
  • Custom Chatwoot Mobile App Version: 1.10.38
  • OS Version: Android 14

Additional Context
All required configurations and environmental variables have been updated as per the documentation.

Copy link

linear bot commented May 3, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant