Enable push notification
Using FCM
Hey @dshukertjr can I work on it? Thanks
Hey @Rohithgilla12 !
I am so grateful that you are willing to implement this! Apologies for the messy repo. I haven't really made it organized, so I'm sure it's hard to work with.
I actually haven't added Firebase config files to this app yet(I know, no analytics right now lol), so let me quickly add it quickly! Then it should be easier to add FCM! Thank you so much for helping out!
In the mean while, there are other issues that are not related to firebase that can be worked on if you are interested!
@dshukertjr Sure will check on other issues in the meantime
@Rohithgilla12 Sorry, that it took so long. Every single time I add Firebase to a Flutter project I encounter new bug... But I added firebase to the app! If you are still willing to work on this issue, it would be awesome!
If you have any question or feed back about the code, please don't hesitate to ask! Also please don't hesitate to mention me to discuss the specifics about the implementation of this!
@dshukertjr Sure
I will enable the push notifications on the application side.
How do I create my dev environment?
Should I create a new supabase project and copy-paste the configuration?
Thanks
Thanks @Rohithgilla12
I think just being able to receive FCM and show a notification banner when the app is in background or terminated would be good enough for now.
There is an dev environment Supabase ready to be used if you just hook up your device and run it!
Also, I have been unable to run the app locally on iOS (release build succeeds, so am able to verify all the functionality though testflight), so it might be better to just use Android.
Having a problem running this, should I run any command to generate files?
@Rohithgilla12
This happens to me as well sometimes and I don't know why. There are no code generation here actually. For me, shutting down VS Code and reopening fixes it. Also, I am using Flutter 2.2.0 just in case you were wondering!
Sorry, couldn't properly tag in the previous comment @Rohithgilla12