billyrigdon / TheWord

Flutter Bible Reader with a Generative AI assistant and social features
GNU General Public License v3.0
1 stars 1 forks source link

Firebase notifications #6

Open billyrigdon opened 3 months ago

Amitkumarkoli commented 3 months ago

can u explain more about this so I can try to implement this.

billyrigdon commented 3 months ago

Basically just implementing push notifications using firebase for comments, friend requests, and the verse of the day.

Will need to grab the notification permission at first launch and a notification settings screen needs to be added. There should be a new provider for notifications. When launching from a push notification, it needs to cache the message in case the user isn't logged in. Once the user logs in or if they're already logged in, the message should redirect them to the appropriate screen. If a user is using the app when the notification is received, it should go into their notifications list without showing a push notification.

If you take this one, the readme needs to be - updated to include the setup for Firebase. Also, if you haven't built this project before, you need a .env file in the Frontend directory with 2 keys: GEMINI_KEY and BIBLE_KEY. The gemini key comes from Google Cloud and you can get the Bible key from api.bible

Let me know if you have any questions!