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

Enable push notification #6

Open
dshukertjr opened this issue May 26, 2021 · 10 comments
Open

Enable push notification #6

dshukertjr opened this issue May 26, 2021 · 10 comments

Comments

@dshukertjr
Copy link
Owner

Using FCM

@Rohithgilla12
Copy link

Hey @dshukertjr can I work on it?
Thanks

@dshukertjr
Copy link
Owner Author

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!

@dshukertjr
Copy link
Owner Author

In the mean while, there are other issues that are not related to firebase that can be worked on if you are interested!

@Rohithgilla12
Copy link

@dshukertjr Sure will check on other issues in the meantime

@dshukertjr
Copy link
Owner Author

dshukertjr commented Jun 6, 2021

@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!

@Rohithgilla12
Copy link

@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

@dshukertjr
Copy link
Owner Author

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.

@Rohithgilla12
Copy link

Screenshot 2021-06-06 at 12 36 54 PM
Having a problem running this, should I run any command to generate files?

@dshukertjr
Copy link
Owner Author

dshukertjr commented Jun 6, 2021

@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!

@dshukertjr
Copy link
Owner Author

Sorry, couldn't properly tag in the previous comment @Rohithgilla12

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

2 participants