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

Missing Doc for RemoteConfig #28

Closed
iamarvindh opened this issue May 4, 2020 · 4 comments
Closed

Missing Doc for RemoteConfig #28

iamarvindh opened this issue May 4, 2020 · 4 comments

Comments

@iamarvindh
Copy link

Hi there's no way to understand how you implemented firebase remote config.

@TheAlphamerc
Copy link
Owner

TheAlphamerc commented May 4, 2020

You can find bleow code on lib/state/chats/chatState.dart from line no 69.

Remote-config

  • Go to firebase remote config
  • Create parameter with name FcmServerKey
  • Add below json to default value field.

{ "key": "FCM server key here" }

Check below firebase config screenshot

Screenshot 2020-05-04 at 5 18 04 PM

@gulmensedat
Copy link

I couldn't understand how to get the key

@TheAlphamerc
Copy link
Owner

Follow below steps to get FCM server key.

  • Open your project in firebase.
  • Click on gear icon in sidebar. A popup will open then click on project settings

Screenshot 2020-05-04 at 6 01 40 PM

  • Open Cloud messaging tab

Screenshot 2020-05-04 at 6 02 00 PM

  • You can get FCM server key from there

Screenshot 2020-05-04 at 6 02 18 PM

@iamarvindh
Copy link
Author

ok thanks .. awesome work by the way

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

3 participants