Skip to content

anjalisoni3655/smart-home-insurance-discounts-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smart-home-insurance-discounts-app

smart-home-insurance-discounts-app is a demo app using google-nest public APIs to enable home insurance providers give discounts to home owners if they have certain smart devices at home.

This is not an officially supported Google product.

To setup flutter app on android studio:

  1. Run flutter doctor to check if flutter is installed in your laptop. If not, please refer to https://flutter.dev/docs/get-started/install for installation instructions.
  2. Go to Find Action -> plugins -> installed. if installed shows dart and flutter then continue to next step, else go to Find Action -> plugins -> marketplace and search for flutter and add the plugin. If prompted to install dart plugin as well, accept. Otherwise search for dart plugin and install that as well.
  3. Clone the repository and open the 'home_insurance_app'/'sdk' directory from android studio not the root directory
  4. Go to settings -> flutter and add the path to flutter SDK if not already present.
  5. If prompted to run 'flutter pub get' accept, else go to terminal in the IDE and run flutter pub get.
  6. Connect device device to your laptop via USB. It should show up in the top bar.
  7. Download google-services.json (firebase access credentials) from the firebase console project page and add it to home_insurance_app/android/app.
  8. Once connected to a devices go to run tab and select run.

Common issues faced:

  1. Flutter plugin and installing flutter SDK are different and both need to be setup.
  2. Run flutter pub get after editing pubspec.yaml file to load the changes.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 99.7%
  • Other 0.3%