Set up the Development Environment
Flutter SDK (Above v.1.20)
-
Run "flutter upgrade" to upgrade your flutter sdk to latest stable release.
Android SDK (minimum Api-21)
-
Change your
'./android/app/build.gradle'
asdefaultConfig { minSdkVersion 21 // Change api level here }
iOS SDK (minimum v9.0)
-
Set MinimumOSVersion to 9.0 in
’./ios/Flutter/AppFrameworkInfo.plist’
-
Ensure that you uncomment platform :ios, ‘9.0’ in
’./ios/Podfile’
-
Ensure that ios/Podfile contains the following post-install script as https://stackoverflow.com/a/64075795/13152213
Firebase Setup
1. Go to Firebase console and create new project (with or without anylytics).
2. Go to project settings
For Android
-
Add new android app ( With your package name )
-
Download config file (google-services.json) and place it in './android/app' directory.
-
Add Firebase SDK.
-
Wait for "Run your app to verify installation" or click on "skip this step".
For iOS
-
Add new iOS app ( With your iOS Bundle ID )
-
Download config file (GoogleServices-info.plist) and place it in './ios/Runner' directory.
-
Add Firebase SDK and follow initialisation code.
-
Wait for "Run your app to verify installation" or click on "skip this step".
3. Go to Authentications and set up sign in method with enable Email/Password method.
Note : We already added dummy google-services file into Integrations project. If you use this project in productions then you should follow these steps and generate your services file for your project.
Project Setup
1. Install package dependencies:
flutter pub get
2. Run the project by running command:
flutter run
3. Use one of these commands to build the project:
flutter build
apk
flutter build
ios
flutter build
appbundle
4. If any issue (run the below command to troubleshoot):
flutter doctor
Plugins
Here is the list of plugin with the official documentation. FlutKit Integrations won't be easy to build without using them and we are thankful to them.
Plugins | Url |
---|---|
Firebase Authentication | https://pub.dev/packages/firebase_auth |
Webview (Developer Preview) | https://pub.dev/packages/webview_flutter |
Image Picker | https://pub.dev/packages/image_picker |
Image Cropper | https://pub.dev/packages/image_cropper |
Google Authentications | https://pub.dev/packages/google_sign_in |
Quick Actions | https://pub.dev/packages/quick_actions |
URL Launcher | https://pub.dev/packages/url_launcher |
Stripe Payment | https://pub.dev/packages/stripe_payment |
Shimmer Effect | https://pub.dev/packages/shimmer |
Admob | https://pub.dev/packages/admob_flutter |