This is a template for all of our projects in Bootfi.
- Clone this repo to your local machine:
git clone https://github.com/Add00w/bootfi_flutter_template.git
- To get dependencies run this cmd in terminal inside project root directory.
flutter pub get
rename --bundleId com.onatcipli.yourappname
rename --appname yourappname
rename --appname yourappname -t ios
rename --appname yourappname -t android
rename --bundleId com.example.android.app --target android
-
android_app_icon.png
-
ios_app_icon.png
flutter pub run flutter_launcher_icons:main
Install the required command line tools
- If you haven't already, install the Firebase CLI.
- Log into Firebase using your Google account by running the following command:
firebase login
- Install the FlutterFire CLI by running the following command from any directory:
dart pub global activate flutterfire_cli
- Configure your apps to use Firebase Use the FlutterFire CLI to configure your Flutter apps to connect to Firebase. From your Flutter project directory, run the following command to start the app configuration workflow:
flutterfire configure
- In NotificationsRepo, import the Firebase core plugin and the configuration file you generated earlier and uncomment the init firebase code:
//Uncomment this line after configuring firebase
//options: DefaultFirebaseOptions.currentPlatform,
flutter run
Open an issue that describes what you would like to see in this template and we will discus about it.
- HTTP
- HTTP Interceptor
- Flutter Hooks
- Hooks Riverpod
- Flutter Svg
- Freezed Annotation
- Freezed
- Json Serializable
- Build Runner
- Rename
- Flutter Launcher Icons
- Flutter Lints
- Flutter Localizations
- intl
- Shared Preferences
- Cached Network Image
- Sentry Flutter
- Firebase Core
- Firebase Messaging
- Flutter Local Notifications
- Platform Device Id
- Package Info Plus
- Json Annotation