Skip to content
Guy Luz edited this page Oct 2, 2020 · 3 revisions

This file is under testing, use only the readme.md for now

Welcome to the CyBear Jinni App wiki!

Instructions for developers

  1. Insert your Firebase configuration into your flutter app.

    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.

  2. 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.

Clone this wiki locally