forked from thunder-app/thunder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add development flavor (thunder-app#1214)
* added flavor for development builds * fixed build scripts * updated dev flavor icon
- Loading branch information
Showing
152 changed files
with
794 additions
and
307 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,55 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "thunder", | ||
"request": "launch", | ||
"type": "dart" | ||
}, | ||
{ | ||
"name": "thunder (profile mode)", | ||
"request": "launch", | ||
"type": "dart", | ||
"flutterMode": "profile" | ||
}, | ||
{ | ||
"name": "thunder (release mode)", | ||
"request": "launch", | ||
"type": "dart", | ||
"flutterMode": "release" | ||
}, | ||
{ | ||
"name": "thunder (web)", | ||
"type": "dart", | ||
"request": "launch", | ||
"program": "lib/main.dart", | ||
"args": [ | ||
"-d", | ||
"chrome" | ||
] | ||
} | ||
] | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Thunder (Debug)", | ||
"request": "launch", | ||
"type": "dart", | ||
"args": ["--flavor", "production"] | ||
}, | ||
{ | ||
"name": "Thunder Development (Debug)", | ||
"request": "launch", | ||
"type": "dart", | ||
"args": ["--flavor", "development"] | ||
}, | ||
{ | ||
"name": "Thunder (Profile)", | ||
"request": "launch", | ||
"type": "dart", | ||
"flutterMode": "profile", | ||
"args": ["--flavor", "production"] | ||
}, | ||
{ | ||
"name": "Thunder Development (Profile)", | ||
"request": "launch", | ||
"type": "dart", | ||
"flutterMode": "profile", | ||
"args": ["--flavor", "development"] | ||
}, | ||
{ | ||
"name": "Thunder (Release)", | ||
"request": "launch", | ||
"type": "dart", | ||
"flutterMode": "release", | ||
"args": ["--flavor", "production"] | ||
}, | ||
{ | ||
"name": "Thunder Development (Release)", | ||
"request": "launch", | ||
"type": "dart", | ||
"flutterMode": "release", | ||
"args": ["--flavor", "development"] | ||
}, | ||
{ | ||
"name": "Thunder (web)", | ||
"type": "dart", | ||
"request": "launch", | ||
"program": "lib/main.dart", | ||
"args": ["-d", "chrome"] | ||
} | ||
] | ||
} |
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
Binary file added
BIN
+951 Bytes
android/app/src/development/res/drawable-hdpi/ic_launcher_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.71 KB
android/app/src/development/res/drawable-hdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.36 KB
android/app/src/development/res/drawable-hdpi/ic_launcher_monochrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+770 Bytes
android/app/src/development/res/drawable-mdpi/ic_launcher_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.58 KB
android/app/src/development/res/drawable-mdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.79 KB
android/app/src/development/res/drawable-mdpi/ic_launcher_monochrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.09 KB
android/app/src/development/res/drawable-xhdpi/ic_launcher_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.96 KB
android/app/src/development/res/drawable-xhdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.07 KB
android/app/src/development/res/drawable-xhdpi/ic_launcher_monochrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.42 KB
android/app/src/development/res/drawable-xxhdpi/ic_launcher_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.49 KB
android/app/src/development/res/drawable-xxhdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.5 KB
android/app/src/development/res/drawable-xxhdpi/ic_launcher_monochrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.1 KB
android/app/src/development/res/drawable-xxxhdpi/ic_launcher_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.5 KB
android/app/src/development/res/drawable-xxxhdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+16.4 KB
android/app/src/development/res/drawable-xxxhdpi/ic_launcher_monochrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions
6
android/app/src/development/res/mipmap-anydpi-v26/ic_launcher.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@drawable/ic_launcher_background"/> | ||
<foreground android:drawable="@drawable/ic_launcher_foreground"/> | ||
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/> | ||
</adaptive-icon> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file removed
BIN
-841 Bytes
android/app/src/main/res/mipmap-hdpi/launcher_icon_background.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-449 Bytes
android/app/src/main/res/mipmap-mdpi/launcher_icon_background.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed
BIN
-2.87 KB
android/app/src/main/res/mipmap-xxhdpi/launcher_icon_background.png
Diff not rendered.
Binary file removed
BIN
-8.89 KB
android/app/src/main/res/mipmap-xxhdpi/launcher_icon_foreground.png
Diff not rendered.
Binary file removed
BIN
-8.89 KB
android/app/src/main/res/mipmap-xxhdpi/launcher_icon_monochrome.png
Diff not rendered.
Diff not rendered.
Binary file removed
BIN
-4.12 KB
android/app/src/main/res/mipmap-xxxhdpi/launcher_icon_background.png
Diff not rendered.
Binary file removed
BIN
-14.1 KB
android/app/src/main/res/mipmap-xxxhdpi/launcher_icon_foreground.png
Diff not rendered.
Binary file removed
BIN
-14.1 KB
android/app/src/main/res/mipmap-xxxhdpi/launcher_icon_monochrome.png
Diff not rendered.
Binary file added
BIN
+951 Bytes
android/app/src/production/res/drawable-hdpi/ic_launcher_background.png
Oops, something went wrong.
Binary file added
BIN
+3.31 KB
android/app/src/production/res/drawable-hdpi/ic_launcher_foreground.png
Oops, something went wrong.
Binary file added
BIN
+3.19 KB
android/app/src/production/res/drawable-hdpi/ic_launcher_monochrome.png
Oops, something went wrong.
Binary file added
BIN
+770 Bytes
android/app/src/production/res/drawable-mdpi/ic_launcher_background.png
Oops, something went wrong.
Binary file added
BIN
+2.33 KB
android/app/src/production/res/drawable-mdpi/ic_launcher_foreground.png
Oops, something went wrong.
Binary file added
BIN
+2.28 KB
android/app/src/production/res/drawable-mdpi/ic_launcher_monochrome.png
Oops, something went wrong.
Binary file added
BIN
+1.09 KB
android/app/src/production/res/drawable-xhdpi/ic_launcher_background.png
Oops, something went wrong.
Binary file added
BIN
+4.21 KB
android/app/src/production/res/drawable-xhdpi/ic_launcher_foreground.png
Oops, something went wrong.
Binary file added
BIN
+4.08 KB
android/app/src/production/res/drawable-xhdpi/ic_launcher_monochrome.png
Oops, something went wrong.
Binary file added
BIN
+1.42 KB
android/app/src/production/res/drawable-xxhdpi/ic_launcher_background.png
Oops, something went wrong.
Binary file added
BIN
+6.01 KB
android/app/src/production/res/drawable-xxhdpi/ic_launcher_foreground.png
Oops, something went wrong.
Binary file added
BIN
+5.77 KB
android/app/src/production/res/drawable-xxhdpi/ic_launcher_monochrome.png
Oops, something went wrong.
Binary file added
BIN
+2.1 KB
android/app/src/production/res/drawable-xxxhdpi/ic_launcher_background.png
Oops, something went wrong.
Binary file added
BIN
+8.16 KB
android/app/src/production/res/drawable-xxxhdpi/ic_launcher_foreground.png
Oops, something went wrong.
Binary file added
BIN
+7.88 KB
android/app/src/production/res/drawable-xxxhdpi/ic_launcher_monochrome.png
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
android/app/src/production/res/mipmap-anydpi-v26/ic_launcher.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@drawable/ic_launcher_background"/> | ||
<foreground android:drawable="@drawable/ic_launcher_foreground"/> | ||
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/> | ||
</adaptive-icon> |
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
dev_dependencies: | ||
flutter_launcher_icons: "^0.13.0" | ||
|
||
flutter_launcher_icons: | ||
image_path_android: "assets/logo_android_development.png" | ||
image_path_ios: "assets/logo_development.png" | ||
android: true | ||
ios: true | ||
adaptive_icon_background: "assets/logo_android_background.png" # only available for Android 8.0 devices and above | ||
adaptive_icon_foreground: "assets/logo_android_development.png" # only available for Android 8.0 devices and above | ||
adaptive_icon_monochrome: "assets/logo_android_monochrome_development.png" # only available for Android 13 devices and above | ||
min_sdk_android: 21 # android min sdk min:16, default 21 | ||
remove_alpha_ios: true | ||
background_color_ios: "#212123" | ||
web: | ||
generate: true | ||
image_path: "assets/logo_development.png" | ||
background_color: "#212123" | ||
theme_color: "#212123" | ||
windows: | ||
generate: true | ||
image_path: "assets/logo_development.png" | ||
icon_size: 48 # min:48, max:256, default: 48 | ||
macos: | ||
generate: true | ||
image_path: "assets/logo_development.png" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
dev_dependencies: | ||
flutter_launcher_icons: "^0.13.0" | ||
|
||
flutter_launcher_icons: | ||
image_path_android: "assets/logo_android.png" | ||
image_path_ios: "assets/logo.png" | ||
android: true | ||
ios: true | ||
adaptive_icon_background: "assets/logo_android_background.png" # only available for Android 8.0 devices and above | ||
adaptive_icon_foreground: "assets/logo_android.png" # only available for Android 8.0 devices and above | ||
adaptive_icon_monochrome: "assets/logo_android_monochrome.png" # only available for Android 13 devices and above | ||
min_sdk_android: 21 # android min sdk min:16, default 21 | ||
remove_alpha_ios: true | ||
background_color_ios: "#212123" | ||
web: | ||
generate: true | ||
image_path: "assets/logo.png" | ||
background_color: "#212123" | ||
theme_color: "#212123" | ||
windows: | ||
generate: true | ||
image_path: "assets/logo.png" | ||
icon_size: 48 # min:48, max:256, default: 48 | ||
macos: | ||
generate: true | ||
image_path: "assets/logo.png" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.