Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.79 KB

README.md

File metadata and controls

36 lines (21 loc) · 1.79 KB

Dynamic App

Flutter Backend Driven UI Project, using Dynamic Widget and Firebase Firestore to "hot reload" the application when cloud database updated.

Getting Started

This project is using:

Configuration

To run this project you'll need to:

  • Update the 'android/app/google-services.json' with the firebase generated file; - Import the 'GoogleService-Info.plist' to the iOS project;
  • Replace the 'web/index.html' firebaseConfig var (line 37) with your generated config.
  • Create the Firestore structure: "pages" collection >> "home" document >> "widgets" field as string, with 'example_backend_code.json' content as value. You can check the expected structure with the 'firestore_database_structure.png' file, attached at this project.

Building the UI

You can easily check the available widgets json structure at the 'lib/src/common/constants/widget_example_constants.dart' file. Also, it's recommended to check the dynamic_widget example project. Remember to update the 'pubspec.yaml' with the last version of dynamic_widget to get the newest widget structures, always reading the lib documentations and checking possible conflicts.

If you want to learn Flutter: