Skip to content

Commit

Permalink
Cleanup and updates (#126)
Browse files Browse the repository at this point in the history
* updated gradle wrapper

* get packages

* fix dependabot issues

* Migrate to using io.flutter.embedding.android.FlutterActivity

* delete files
  • Loading branch information
nisrulz authored Oct 22, 2022
1 parent 0df530c commit f761e55
Show file tree
Hide file tree
Showing 387 changed files with 7,456 additions and 6,509 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"cmake.configureOnOpen": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:name="${applicationName}"
android:label="analytics_integration"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:name="io.flutter.embedding.android.FlutterActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion animation_example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
android:label="penassignment"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:name="io.flutter.embedding.android.FlutterActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion biometrics/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:name="io.flutter.embedding.android.FlutterActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/Theme.AppCompat.Light"
Expand Down

This file was deleted.

4 changes: 2 additions & 2 deletions bottom_sheet/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:name="${applicationName}"
android:label="project"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:name="io.flutter.embedding.android.FlutterActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
Expand Down

This file was deleted.

4 changes: 2 additions & 2 deletions covid19_mobile_app/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:name="${applicationName}"
android:label="Covid-19"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:name="io.flutter.embedding.android.FlutterActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion covid19_mobile_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies:
flutter:
sdk: flutter
number_display: ^2.2.1
http: ^0.12.0+4
http: ^0.13.3
bezier_chart: ^1.0.16
folding_cell: ^0.1.2

Expand Down
21 changes: 15 additions & 6 deletions custom_home_drawer/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,30 @@
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:name="io.flutter.embedding.android.FlutterActivity"
android:exported="true"
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">
<!-- Specifies an Android theme to apply to this Activity as soon as
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. -->
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<!-- Displays an Android View that continues showing the launch screen
Drawable until Flutter paints its first frame, then this splash
screen fades out. A splash screen is useful to avoid any visual
gap between the end of Android's launch screen and the painting of
Flutter's first frame. -->
<meta-data
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
Expand Down

This file was deleted.

72 changes: 33 additions & 39 deletions dropdown_button/.dart_tool/package_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,135 +3,129 @@
"packages": [
{
"name": "async",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.5.0",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.9.0",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "2.14"
},
{
"name": "boolean_selector",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "characters",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "charcode",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.2.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "clock",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "collection",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.16.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "cupertino_icons",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-0.1.2",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-0.1.3",
"packageUri": "lib/",
"languageVersion": "2.0"
},
{
"name": "fake_async",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.3.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "flutter",
"rootUri": "file:///home/zion/Documents/sdks/flutter/packages/flutter",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/packages/flutter",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "2.17"
},
{
"name": "flutter_test",
"rootUri": "file:///home/zion/Documents/sdks/flutter/packages/flutter_test",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/packages/flutter_test",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "2.17"
},
{
"name": "matcher",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.12",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "material_color_utilities",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/material_color_utilities-0.1.5",
"packageUri": "lib/",
"languageVersion": "2.13"
},
{
"name": "meta",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.8.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "path",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.2",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "sky_engine",
"rootUri": "file:///home/zion/Documents/sdks/flutter/bin/cache/pkg/sky_engine",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/bin/cache/pkg/sky_engine",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "source_span",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.0",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.9.0",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "2.14"
},
{
"name": "stack_trace",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "stream_channel",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "string_scanner",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "term_glyph",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "test_api",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.19",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "typed_data",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.12",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "vector_math",
"rootUri": "file:///home/zion/Documents/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0",
"rootUri": "file:///usr/local/Caskroom/flutter/2.8.1/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.2",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "2.14"
},
{
"name": "dropdown_button",
Expand All @@ -140,7 +134,7 @@
"languageVersion": "2.10"
}
],
"generated": "2021-07-25T18:35:22.037374Z",
"generated": "2022-10-22T19:11:19.381451Z",
"generator": "pub",
"generatorVersion": "2.12.2"
"generatorVersion": "2.18.2"
}
Loading

0 comments on commit f761e55

Please sign in to comment.