lexiconhq / lexicon

Built with Expo, React Native, and GraphQL, Lexicon is a pre-built mobile discussions app that you can customize for your users.
https://lexicon.is
MIT License
184 stars 34 forks source link

Push notifications not received #68

Open raslankiwan opened 6 months ago

raslankiwan commented 6 months ago

Describe the bug

I’ve installed the lexicon discourse plugin to be able to receive push notifications on my lexicon app. I followed the setup instructions and I can see that the expo token is being generated, and added to discourse by the ‘ /lexicon/push_notifications/subscribe.json’ API. I’ve also made sure that the token is working by using it with a test notification from expo push notifications tool. However, when I perform any action that should trigger the push notification service from discourse admin or from another mobile instance of lexicon (such as reply to a post, react to a post, send a direct message, etc), although the notification is sent from discourse in the notification screen on lexicon, the push notification is not received on mobile.

joshuniverse commented 5 months ago

experiencing the same thing

starjustice commented 5 months ago

Hey @raslankiwan,

Thanks for asking about this problem. Have you already set up push notifications for Expo? You can check the setup process in this documentation.