Get config file for your android app to download the config file for a firebase android app: sign in to firebase, then open your project click , then select project settings in the your apps card, select the package name of the app for which you need a config file click google-servicesjson, then add it to your app get config object for. Download google-servicesjson android studio. In the next dialog window enter the name of the android application package and sha1 of fingerprints certificate (optional) 7 next will download the configuration file json google-servicesjson automatically, which will be added in the directory app in the android project.
download google-services.json android studio
Create an android project with firebase - create or open a existing android studio project - copy android package name and paste to google firebase console - download google-servicesjson to. The application builds a googlesigninclient, specifying the sign-in options it needs. then, when the sign-in button is clicked, the application starts the sign-in intent, which prompts the user to sign in with a google account. // configure sign-in to request the user's id, email address, and basic // profile. id and basic profile are. Then on the dashboard firebase select add firebase to your android app. in the next dialog window enter the name of the android application package and sha1 of fingerprints certificate (optional). next will download the configuration file json google-services.json automatically, which will be added in the directory app in the android project..
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.