Skip to content

Commit b2e156b

Browse files
committed
chore: prepare for android alpha release
1 parent f75478c commit b2e156b

File tree

6 files changed

+29
-7
lines changed

6 files changed

+29
-7
lines changed

android/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,5 @@ flutter {
112112

113113
dependencies {
114114
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.20"
115+
implementation "com.google.android.material:material:1.11.0"
115116
}

android/app/src/main/AndroidManifest.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
<application
33
android:label="${appName}"
44
android:name="${applicationName}"
5-
android:icon="@mipmap/launcher_icon">
5+
android:icon="@mipmap/launcher_icon"
6+
android:allowBackup="false"
7+
android:fullBackupContent="false">
68
<activity
79
android:name=".MainActivity"
810
android:exported="true"
@@ -30,4 +32,6 @@
3032
android:name="flutterEmbedding"
3133
android:value="2" />
3234
</application>
35+
<uses-permission android:name="android.permission.INTERNET"/>
36+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
3337
</manifest>

android/app/src/main/res/values-night/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
running.
1313
1414
This Theme is only used starting with V2 of Flutter's Android embedding. -->
15-
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
15+
<style name="NormalTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
1616
<item name="android:windowBackground">?android:colorBackground</item>
1717
</style>
1818
</resources>

android/app/src/main/res/values/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
running.
1313
1414
This Theme is only used starting with V2 of Flutter's Android embedding. -->
15-
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
15+
<style name="NormalTheme" parent="Theme.MaterialComponents.Light.NoActionBar">
1616
<item name="android:windowBackground">?android:colorBackground</item>
1717
</style>
1818
</resources>

pubspec.lock

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ packages:
8585
dependency: "direct main"
8686
description:
8787
name: bottom_bar
88-
sha256: "4382b5fe59c2e1d44022bd0db530f68877afea442ebbdc76d7976c22dd4fb15c"
88+
sha256: a2c96d8be21ab6173ac95bae3bcb2beb4c9a4cae7d82674f5551303986e121bf
8989
url: "https://pub.dev"
9090
source: hosted
91-
version: "2.0.3"
91+
version: "2.0.5"
9292
build:
9393
dependency: transitive
9494
description:
@@ -406,6 +406,14 @@ packages:
406406
url: "https://pub.dev"
407407
source: hosted
408408
version: "5.10.0"
409+
flutter_launcher_icons:
410+
dependency: "direct dev"
411+
description:
412+
name: flutter_launcher_icons
413+
sha256: bfa04787c85d80ecb3f8777bde5fc10c3de809240c48fa061a2c2bf15ea5211c
414+
url: "https://pub.dev"
415+
source: hosted
416+
version: "0.14.3"
409417
flutter_localizations:
410418
dependency: "direct main"
411419
description: flutter
@@ -588,6 +596,14 @@ packages:
588596
url: "https://pub.dev"
589597
source: hosted
590598
version: "9.1.5"
599+
image:
600+
dependency: transitive
601+
description:
602+
name: image
603+
sha256: "4e973fcf4caae1a4be2fa0a13157aa38a8f9cb049db6529aa00b4d71abc4d928"
604+
url: "https://pub.dev"
605+
source: hosted
606+
version: "4.5.4"
591607
image_size_getter:
592608
dependency: transitive
593609
description:

pubspec.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: qack
22
description: A translation app for learning Chinese and English through speaking.
3-
version: 1.0.0+1
3+
version: 0.1.0+1
44
publish_to: none
55

66
environment:
@@ -27,7 +27,7 @@ dependencies:
2727
auto_size_text: ^3.0.0
2828
equatable: ^2.0.7
2929
flutter_secure_storage: ^9.2.2
30-
bottom_bar: ^2.0.3
30+
bottom_bar: ^2.0.5
3131
lucide_icons: ^0.257.0
3232
vector_graphics_compiler: ^1.1.16
3333
flutter_svg: ^2.1.0
@@ -47,6 +47,7 @@ dev_dependencies:
4747
build_runner: ^2.4.15
4848
drift_dev: ^2.26.1
4949
flutter_gen_runner: ^5.10.0
50+
flutter_launcher_icons: ^0.14.3
5051
flutter_test:
5152
sdk: flutter
5253
freezed: ^3.0.6

0 commit comments

Comments
 (0)