Last active
June 29, 2024 17:36
-
-
Save minhcasi/f9e5c30c2cf373e7389efc6eb675df53 to your computer and use it in GitHub Desktop.
How to build Flutter Instant app with FluxStore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:dist="http://schemas.android.com/apk/distribution" | |
android:targetSandboxVersion="2" | |
package="com.inspireui.fluxstore"> | |
<!-- The following declaration enables this module to be served instantly --> | |
<dist:module dist:instant="true"></dist:module> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | |
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> | |
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | |
<!-- io.flutter.app.FlutterApplication is an android.app.Application that | |
calls FlutterMain.startInitialization(this); in its onCreate method. | |
In most cases you can leave this as-is, but you if you want to provide | |
additional functionality it is fine to subclass or reimplement | |
FlutterApplication and put your custom class here. --> | |
<application | |
android:name="io.flutter.app.FlutterApplication" | |
android:label="Fluxstore" | |
android:usesCleartextTraffic="true" | |
android:icon="@mipmap/launcher_icon"> | |
<activity | |
android:name=".MainActivity" | |
android:launchMode="singleTop" | |
android:theme="@style/LaunchTheme" | |
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" | |
android:hardwareAccelerated="true" | |
android:windowSoftInputMode="adjustResize"> | |
<!-- This keeps the window background of the activity showing | |
until Flutter renders its first frame. It can be removed if | |
there is no splash screen (such as the default splash screen | |
defined in @style/LaunchTheme). --> | |
<meta-data | |
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame" | |
android:value="true" /> | |
<intent-filter> | |
<action android:name="android.intent.action.MAIN" /> | |
<category android:name="android.intent.category.LAUNCHER" /> | |
</intent-filter> | |
<intent-filter> | |
<action android:name="FLUTTER_NOTIFICATION_CLICK" /> | |
<category android:name="android.intent.category.DEFAULT" /> | |
</intent-filter> | |
<meta-data | |
android:name="default-url" | |
android:value="https://inspireui.com" /> | |
<intent-filter android:autoVerify="true"> | |
<action android:name="android.intent.action.VIEW" /> | |
<category android:name="android.intent.category.DEFAULT" /> | |
<category android:name="android.intent.category.BROWSABLE" /> | |
<data | |
android:scheme="https" | |
android:host="inspireui.com" /> | |
<data | |
android:scheme="http" /> | |
</intent-filter> | |
</activity> | |
<!-- Don't delete the meta-data below. | |
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> | |
<meta-data | |
android:name="flutterEmbedding" | |
android:value="2" /> | |
</application> | |
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: fstore | |
description: Mobile commerce app by Flutter | |
version: 1.6.5+1 | |
environment: | |
sdk: ">=2.2.2 <3.0.0" | |
dependencies: | |
logs: | |
git: https://github.com/pq/logs | |
flutter: | |
sdk: flutter | |
http: 0.12.0+4 | |
html_unescape: 1.0.1+3 | |
provider: 4.0.4 | |
after_layout: 1.0.7+2 | |
path: 1.6.4 | |
vector_math: 2.0.8 | |
flutter_widget_from_html: 0.3.2+2 | |
configurable_expansion_tile: 1.0.0 | |
timeago: 2.0.26 | |
share: 0.6.3+6 | |
validate: 1.7.0 | |
shared_preferences: 0.5.6+3 | |
transparent_image: 1.0.0 | |
pull_to_refresh: 1.5.8 | |
localstorage: 3.0.1+4 | |
notification_permissions: 0.4.4 | |
page_indicator: 0.3.0 | |
intro_slider: 2.2.9 | |
url_launcher: 5.4.2 | |
flutter_webview_plugin: 0.3.10+2 | |
random_string: 2.0.1 | |
cached_network_image: 2.0.0 | |
image_picker: 0.6.4 | |
uuid: 2.0.4 | |
flutter_staggered_grid_view: 0.3.0 | |
auto_size_text: 2.1.0 | |
flutter_swiper: 1.1.6 | |
flutter_widgets: 0.1.12 | |
flutter_spinkit: 4.1.2+1 | |
percent_indicator: 2.1.1+1 | |
animated_text_kit: 2.0.0 | |
wave: 0.0.8 | |
http_auth: 0.2.9 | |
pin_code_fields: 2.4.0 | |
webview_flutter: 0.3.19+9 | |
rubber: 0.4.0 | |
custom_splash: 0.0.2 | |
apple_sign_in: 0.1.0 | |
google_fonts: 0.3.10 | |
flutter_statusbarcolor: 0.2.3 | |
app_settings: 3.0.1 | |
animated_splash: 1.0.0 | |
event_bus: 1.1.1 | |
flutter_typeahead: 1.8.0 | |
flash: 1.2.3 | |
flutter_localizations: | |
sdk: flutter | |
dev_dependencies: | |
flutter_launcher_icons: 0.7.4 | |
flutter_test: | |
sdk: flutter | |
# pedantic: 1.8.0+1 # Analysis | |
# Run this script to generate the app icon: flutter pub run flutter_launcher_icons:main | |
flutter_icons: | |
android: "launcher_icon" | |
ios: true | |
image_path: "assets/images/app_icon.png" | |
# The following section is specific to Flutter. | |
flutter: | |
uses-material-design: true | |
assets: | |
- lib/config/ | |
- lib/config/states/ | |
- assets/icons/categories/ | |
- assets/icons/tabs/ | |
- assets/icons/profile/ | |
- assets/icons/payment/ | |
- assets/images/ | |
- assets/images/country/ | |
- assets/html/ | |
flutter_intl: | |
enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: fstore | |
description: Mobile commerce app by Flutter | |
version: 1.6.6+33 | |
environment: | |
sdk: ">=2.2.2 <3.0.0" | |
dependencies: | |
logs: | |
git: https://github.com/pq/logs | |
flutter: | |
sdk: flutter | |
http: 0.12.0+4 | |
html_unescape: 1.0.1+3 | |
provider: 4.0.4 | |
after_layout: 1.0.7+2 | |
font_awesome_flutter: 8.8.1 | |
path: 1.6.4 | |
vector_math: 2.0.8 | |
carousel_pro: 1.0.0 | |
flutter_widget_from_html: 0.3.2+2 | |
configurable_expansion_tile: 1.0.0 | |
timeago: 2.0.26 | |
share: 0.6.3+6 | |
validate: 1.7.0 | |
country_pickers: 1.2.0 | |
shared_preferences: 0.5.6+3 | |
firebase_messaging: 6.0.12 | |
firebase_analytics: 5.0.11 | |
transparent_image: 1.0.0 | |
pull_to_refresh: 1.5.8 | |
localstorage: 3.0.1+4 | |
notification_permissions: 0.4.4 | |
flare_splash_screen: 3.0.1 | |
rate_my_app: 0.6.0+2 | |
page_indicator: 0.3.0 | |
extended_image: 0.7.2 | |
intro_slider: 2.2.9 | |
url_launcher: 5.4.2 | |
firebase_core: 0.4.4 # keep these version as there is new issue | |
firebase_auth: 0.15.3 # with the latest firebase https://github.com/FirebaseExtended/flutterfire/issues/2084 | |
flutter_webview_plugin: 0.3.10+1 | |
connectivity: 0.4.8+2 | |
random_string: 2.0.1 | |
google_maps_flutter: 0.5.25+3 | |
place_picker: 0.9.11 | |
cached_network_image: 2.0.0 | |
image_picker: 0.6.4 | |
uuid: 2.0.4 | |
uni_links: 0.2.0 | |
flutter_staggered_grid_view: 0.3.0 | |
device_apps: 1.0.9 | |
auto_size_text: 2.1.0 | |
flutter_swiper: 1.1.6 | |
flutter_widgets: 0.1.12 | |
video_player: 0.10.8+1 | |
flutter_spinkit: 4.1.2+1 | |
percent_indicator: 2.1.1+1 | |
animated_text_kit: 2.0.0 | |
wave: 0.0.8 | |
http_auth: 0.2.9 | |
firebase_admob: 0.9.1 | |
facebook_audience_network: 0.5.0 | |
pin_code_fields: 2.4.0 | |
flutter_facebook_login: 3.0.0 | |
webview_flutter: 0.3.19+9 | |
rubber: 0.4.0 | |
flutter_localizations: | |
sdk: flutter | |
custom_splash: 0.0.2 | |
apple_sign_in: 0.1.0 | |
google_sign_in: 4.4.0 | |
google_fonts: 0.3.10 | |
flutter_statusbarcolor: 0.2.3 | |
app_settings: 3.0.1 | |
animated_splash: 1.0.0 | |
firebase_database: 3.1.3 | |
event_bus: 1.1.1 | |
country_code_picker: 1.3.7 | |
flutter_typeahead: 1.8.0 | |
flash: 1.2.3 | |
dev_dependencies: | |
flutter_launcher_icons: 0.7.4 | |
flutter_test: | |
sdk: flutter | |
pedantic: 1.8.0+1 # Analysis | |
# Run this script to generate the app icon: flutter pub run flutter_launcher_icons:main | |
flutter_icons: | |
android: "launcher_icon" | |
ios: true | |
image_path: "assets/images/app_icon.png" | |
# The following section is specific to Flutter. | |
flutter: | |
uses-material-design: true | |
assets: | |
- lib/config/ | |
- lib/config/mocks/ | |
- lib/config/states/ | |
- assets/icons/categories/ | |
- assets/icons/tabs/ | |
- assets/icons/profile/ | |
- assets/icons/payment/ | |
- assets/images/ | |
- assets/images/country/ | |
- assets/images/favicon/ | |
- assets/html/ | |
- assets/images/background/ | |
fonts: | |
- family: MaterialIcons | |
fonts: | |
- asset: assets/fonts/MaterialIcons.ttf | |
- family: Entypo | |
fonts: | |
- asset: assets/fonts/Entypo.ttf | |
- family: FontAwesome | |
fonts: | |
- asset: assets/fonts/FontAwesome.ttf | |
- family: MaterialCommunityIcons | |
fonts: | |
- asset: assets/fonts/MaterialCommunityIcons.ttf | |
- family: Feather | |
fonts: | |
- asset: assets/fonts/Feather.ttf | |
flutter_intl: | |
enabled: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment