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

Added firebase to pubspec.yaml #8

Closed
wants to merge 1 commit into from
Closed

Conversation

r0hnx
Copy link

@r0hnx r0hnx commented Oct 14, 2020

Please add a google_config.json file for adding database and further development.

Refer to this link : https://firebase.flutter.dev/docs/installation/android#installing-your-firebase-configuration-file

@enzoftware
Copy link
Owner

You're referring to google-services.json?

@r0hnx
Copy link
Author

r0hnx commented Oct 15, 2020

You're referring to google-services.json?

Yes

@enzoftware
Copy link
Owner

hI @r0hnx, I miss that you are assigned to the #4 issue. The idea is that everyone who wants to run the app includes their own google-services.json file into the project. This to avoid sharing personal sensitive data into an open-source project.

The steps you have to follow to go forward to this issue is:

  • Setup your own Firebase project.
  • Get the google-services.json from your Firebase project.
  • Set up the project to run with Firebase ( Add the necessary files and dependencies to achieve that)
  • Add to .gitignore file the google-services.json file path. Same for ios version.
  • Implement the logic to get all data from firestore.
  • Verify everything works as expected.

Comment on lines +17 to +18
firebase_core:
cloud_firestore:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Define specific dependency version, please.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its not necessary here, pub get takes the latest one automatically

@enzoftware
Copy link
Owner

@r0hnx Any updates?

@r0hnx
Copy link
Author

r0hnx commented Oct 18, 2020

@r0hnx Any updates?

It's almost done, would push it by tomorrow

@enzoftware
Copy link
Owner

Hi @r0hnx, any update?

@enzoftware
Copy link
Owner

I'll close this PR

@enzoftware enzoftware closed this Oct 28, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants