Skip to content

Commit f761e55

Browse files
authored
Cleanup and updates (#126)
* updated gradle wrapper * get packages * fix dependabot issues * Migrate to using io.flutter.embedding.android.FlutterActivity * delete files
1 parent 0df530c commit f761e55

File tree

387 files changed

+7456
-6509
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

387 files changed

+7456
-6509
lines changed

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"cmake.configureOnOpen": false
3+
}

analytics_integration/android/app/src/main/AndroidManifest.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
additional functionality it is fine to subclass or reimplement
77
FlutterApplication and put your custom class here. -->
88
<application
9-
android:name="io.flutter.app.FlutterApplication"
9+
android:name="${applicationName}"
1010
android:label="analytics_integration"
1111
android:icon="@mipmap/ic_launcher">
1212
<activity
13-
android:name=".MainActivity"
13+
android:name="io.flutter.embedding.android.FlutterActivity"
1414
android:launchMode="singleTop"
1515
android:theme="@style/LaunchTheme"
1616
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"

analytics_integration/android/app/src/main/kotlin/github/nisrulz/analytics_integration/MainActivity.kt

-6
This file was deleted.

animation_example/android/app/src/main/AndroidManifest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
android:label="penassignment"
55
android:icon="@mipmap/ic_launcher">
66
<activity
7-
android:name=".MainActivity"
7+
android:name="io.flutter.embedding.android.FlutterActivity"
88
android:launchMode="singleTop"
99
android:theme="@style/LaunchTheme"
1010
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"

animation_example/android/app/src/main/kotlin/com/example/penassignment/MainActivity.kt

-6
This file was deleted.

biometrics/android/app/src/main/AndroidManifest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
android:name="${applicationName}"
66
android:icon="@mipmap/ic_launcher">
77
<activity
8-
android:name=".MainActivity"
8+
android:name="io.flutter.embedding.android.FlutterActivity"
99
android:exported="true"
1010
android:launchMode="singleTop"
1111
android:theme="@style/Theme.AppCompat.Light"

biometrics/android/app/src/main/kotlin/studio/sdev/biometrics/MainActivity.kt

-5
This file was deleted.

bottom_sheet/android/app/src/main/AndroidManifest.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
additional functionality it is fine to subclass or reimplement
77
FlutterApplication and put your custom class here. -->
88
<application
9-
android:name="io.flutter.app.FlutterApplication"
9+
android:name="${applicationName}"
1010
android:label="project"
1111
android:icon="@mipmap/ic_launcher">
1212
<activity
13-
android:name=".MainActivity"
13+
android:name="io.flutter.embedding.android.FlutterActivity"
1414
android:launchMode="singleTop"
1515
android:theme="@style/LaunchTheme"
1616
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"

bottom_sheet/android/app/src/main/kotlin/com/example/project/MainActivity.kt

-6
This file was deleted.

covid19_mobile_app/android/app/src/main/AndroidManifest.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
additional functionality it is fine to subclass or reimplement
77
FlutterApplication and put your custom class here. -->
88
<application
9-
android:name="io.flutter.app.FlutterApplication"
9+
android:name="${applicationName}"
1010
android:label="Covid-19"
1111
android:icon="@mipmap/ic_launcher">
1212
<activity
13-
android:name=".MainActivity"
13+
android:name="io.flutter.embedding.android.FlutterActivity"
1414
android:launchMode="singleTop"
1515
android:theme="@style/LaunchTheme"
1616
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"

covid19_mobile_app/android/app/src/main/kotlin/com/example/covid19_mobile_app/MainActivity.kt

-6
This file was deleted.

covid19_mobile_app/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies:
2424
flutter:
2525
sdk: flutter
2626
number_display: ^2.2.1
27-
http: ^0.12.0+4
27+
http: ^0.13.3
2828
bezier_chart: ^1.0.16
2929
folding_cell: ^0.1.2
3030

custom_home_drawer/android/app/src/main/AndroidManifest.xml

+15-6
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,30 @@
55
android:name="${applicationName}"
66
android:icon="@mipmap/ic_launcher">
77
<activity
8-
android:name=".MainActivity"
8+
android:name="io.flutter.embedding.android.FlutterActivity"
99
android:exported="true"
1010
android:launchMode="singleTop"
1111
android:theme="@style/LaunchTheme"
1212
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1313
android:hardwareAccelerated="true"
1414
android:windowSoftInputMode="adjustResize">
15-
<!-- Specifies an Android theme to apply to this Activity as soon as
15+
<!-- Specifies an Android theme to apply to this Activity as soon as
1616
the Android process has started. This theme is visible to the user
1717
while the Flutter UI initializes. After that, this theme continues
1818
to determine the Window background behind the Flutter UI. -->
19-
<meta-data
20-
android:name="io.flutter.embedding.android.NormalTheme"
21-
android:resource="@style/NormalTheme"
22-
/>
19+
<meta-data
20+
android:name="io.flutter.embedding.android.NormalTheme"
21+
android:resource="@style/NormalTheme"
22+
/>
23+
<!-- Displays an Android View that continues showing the launch screen
24+
Drawable until Flutter paints its first frame, then this splash
25+
screen fades out. A splash screen is useful to avoid any visual
26+
gap between the end of Android's launch screen and the painting of
27+
Flutter's first frame. -->
28+
<meta-data
29+
android:name="io.flutter.embedding.android.SplashScreenDrawable"
30+
android:resource="@drawable/launch_background"
31+
/>
2332
<intent-filter>
2433
<action android:name="android.intent.action.MAIN"/>
2534
<category android:name="android.intent.category.LAUNCHER"/>

custom_home_drawer/android/app/src/main/kotlin/com/example/custom_home_drawer/MainActivity.kt

-6
This file was deleted.

dropdown_button/.dart_tool/package_config.json

+33-39
Original file line numberDiff line numberDiff line change
@@ -3,135 +3,129 @@
33
"packages": [
44
{
55
"name": "async",
6-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.5.0",
6+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.9.0",
77
"packageUri": "lib/",
8-
"languageVersion": "2.12"
8+
"languageVersion": "2.14"
99
},
1010
{
1111
"name": "boolean_selector",
12-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0",
12+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0",
1313
"packageUri": "lib/",
1414
"languageVersion": "2.12"
1515
},
1616
{
1717
"name": "characters",
18-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0",
19-
"packageUri": "lib/",
20-
"languageVersion": "2.12"
21-
},
22-
{
23-
"name": "charcode",
24-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0",
18+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.2.1",
2519
"packageUri": "lib/",
2620
"languageVersion": "2.12"
2721
},
2822
{
2923
"name": "clock",
30-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0",
24+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.1",
3125
"packageUri": "lib/",
3226
"languageVersion": "2.12"
3327
},
3428
{
3529
"name": "collection",
36-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0",
30+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.16.0",
3731
"packageUri": "lib/",
3832
"languageVersion": "2.12"
3933
},
4034
{
4135
"name": "cupertino_icons",
42-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-0.1.2",
36+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-0.1.3",
4337
"packageUri": "lib/",
4438
"languageVersion": "2.0"
4539
},
4640
{
4741
"name": "fake_async",
48-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0",
42+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.3.1",
4943
"packageUri": "lib/",
5044
"languageVersion": "2.12"
5145
},
5246
{
5347
"name": "flutter",
54-
"rootUri": "file:///home/zion/Documents/sdks/flutter/packages/flutter",
48+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/packages/flutter",
5549
"packageUri": "lib/",
56-
"languageVersion": "2.12"
50+
"languageVersion": "2.17"
5751
},
5852
{
5953
"name": "flutter_test",
60-
"rootUri": "file:///home/zion/Documents/sdks/flutter/packages/flutter_test",
54+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/packages/flutter_test",
6155
"packageUri": "lib/",
62-
"languageVersion": "2.12"
56+
"languageVersion": "2.17"
6357
},
6458
{
6559
"name": "matcher",
66-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10",
60+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.12",
6761
"packageUri": "lib/",
6862
"languageVersion": "2.12"
6963
},
64+
{
65+
"name": "material_color_utilities",
66+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/material_color_utilities-0.1.5",
67+
"packageUri": "lib/",
68+
"languageVersion": "2.13"
69+
},
7070
{
7171
"name": "meta",
72-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0",
72+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.8.0",
7373
"packageUri": "lib/",
7474
"languageVersion": "2.12"
7575
},
7676
{
7777
"name": "path",
78-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0",
78+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.2",
7979
"packageUri": "lib/",
8080
"languageVersion": "2.12"
8181
},
8282
{
8383
"name": "sky_engine",
84-
"rootUri": "file:///home/zion/Documents/sdks/flutter/bin/cache/pkg/sky_engine",
84+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/bin/cache/pkg/sky_engine",
8585
"packageUri": "lib/",
8686
"languageVersion": "2.12"
8787
},
8888
{
8989
"name": "source_span",
90-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.0",
90+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.9.0",
9191
"packageUri": "lib/",
92-
"languageVersion": "2.12"
92+
"languageVersion": "2.14"
9393
},
9494
{
9595
"name": "stack_trace",
96-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0",
96+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0",
9797
"packageUri": "lib/",
9898
"languageVersion": "2.12"
9999
},
100100
{
101101
"name": "stream_channel",
102-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0",
102+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0",
103103
"packageUri": "lib/",
104104
"languageVersion": "2.12"
105105
},
106106
{
107107
"name": "string_scanner",
108-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0",
108+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.1",
109109
"packageUri": "lib/",
110110
"languageVersion": "2.12"
111111
},
112112
{
113113
"name": "term_glyph",
114-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0",
114+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.1",
115115
"packageUri": "lib/",
116116
"languageVersion": "2.12"
117117
},
118118
{
119119
"name": "test_api",
120-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.19",
121-
"packageUri": "lib/",
122-
"languageVersion": "2.12"
123-
},
124-
{
125-
"name": "typed_data",
126-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0",
120+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.12",
127121
"packageUri": "lib/",
128122
"languageVersion": "2.12"
129123
},
130124
{
131125
"name": "vector_math",
132-
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0",
126+
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.2",
133127
"packageUri": "lib/",
134-
"languageVersion": "2.12"
128+
"languageVersion": "2.14"
135129
},
136130
{
137131
"name": "dropdown_button",
@@ -140,7 +134,7 @@
140134
"languageVersion": "2.10"
141135
}
142136
],
143-
"generated": "2021-07-25T18:35:22.037374Z",
137+
"generated": "2022-10-22T19:11:19.381451Z",
144138
"generator": "pub",
145-
"generatorVersion": "2.12.2"
139+
"generatorVersion": "2.18.2"
146140
}

0 commit comments

Comments
 (0)