-
Notifications
You must be signed in to change notification settings - Fork 140
Home
Welcome to the CyBear Jinni App wiki!
-
Insert your Firebase configuration into your flutter app.
-
Create a firebase console project for your smart home.
-
Add authentication user
Location: https://console.firebase.google.com --> Select project --> In the left side navigation drawer under the "Develop" click the "Authentication" text --> Click the button "Add user" --> Fill email and password and press "Add user" button.
- Download the google-services.json file from your Firebase console project.
Location: https://console.firebase.google.com --> Select project --> In the left side navigation drawer click on the cog at the top --> Project settings (It will take you to the General tab) --> Click "Add app" --> choose "Android" --> Fill all the details according you app --> Download google-services.json .
Move google-services.json into the flutter project to the .../android/app/ folder.
-
-
This part is only required if you are going to connect the application to the CyBear Jinni smart devices, if not just skip this part.
Copy the following fields values from the google-services.json:
project_id
,current_key
into the file constant_credentials.dart to
fireBaseProjectId
,fireBaseApiKey
fields respectively.
In the same file insert the firebase account credentials (email and password) that we created earlier into the fields
userEmail
,userPassword
.
Congratulations now deploy the app to your phone and you can connect to the smart devices with your own Cloud Firebase.