diff --git a/README.md b/README.md index 07654a1885186e40e3bd98e8c3f77213076551b1..6359e4eeb4cfbbfd3936440e85e24763ef04177e 100644 --- a/README.md +++ b/README.md @@ -36,16 +36,16 @@ This repository makes use of the following pub packages: | Package | Version | Usage | | ------ | ------ | ------ | -| [Bloc](https://pub.dev/packages/bloc) | ^8.0.2 | State management* +| [Bloc](https://pub.dev/packages/bloc) | ^8.0.3 | State management* | [Flutter Bloc](https://pub.dev/packages/flutter_bloc) | ^8.0.1 | State management* -| [Hydrated Bloc](https://pub.dev/packages/hydrated_bloc) | ^8.0.0 | Persists Bloc state with Hive +| [Hydrated Bloc](https://pub.dev/packages/hydrated_bloc) | ^8.1.0 | Persists Bloc state with Hive | [Equatable](https://pub.dev/packages/equatable) | ^2.0.3 | Easily compare custom classes, used for Bloc states* -| [Flutter Lints](https://pub.dev/packages/flutter_lints) | ^1.0.4 | Stricter linting rules -| [Path Provider](https://pub.dev/packages/path_provider) | ^2.0.9 | Get the save path for Hive -| [Flutter Displaymode](https://pub.dev/packages/flutter_displaymode) | ^0.3.2 | Support high refresh rate displays -| [Easy Localization](https://pub.dev/packages/easy_localization) | ^3.0.0 | Makes localization easy -| [Hive](https://pub.dev/packages/hive) | ^2.0.5 | Platform independent storage. -| [Url Launcher](https://pub.dev/packages/url_launcher) | ^6.0.20 | Open urls in Browser +| [Flutter Lints](https://pub.dev/packages/flutter_lints) | ^2.0.1 | Stricter linting rules +| [Path Provider](https://pub.dev/packages/path_provider) | ^2.0.10 | Get the save path for Hive +| [Flutter Displaymode](https://pub.dev/packages/flutter_displaymode) | ^0.4.0 | Support high refresh rate displays +| [Easy Localization](https://pub.dev/packages/easy_localization) | ^3.0.1 | Makes localization easy +| [Hive](https://pub.dev/packages/hive) | ^2.2.1 | Platform independent storage. +| [Url Launcher](https://pub.dev/packages/url_launcher) | ^6.1.2 | Open urls in Browser | [Ionicons](https://pub.dev/packages/ionicons) | ^0.1.2 | Modern icon library > \* Recommended to keep regardless of your project diff --git a/android/app/build.gradle b/android/app/build.gradle index 76b9be24d8ecfee3cd2bb0fb78711bcf0779d2b5..63cf98ca7e24b7d62e84a10b7524afadfcaf4533 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 31 + compileSdkVersion 32 sourceSets { main.java.srcDirs += 'src/main/kotlin' @@ -36,7 +36,7 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "dev.feichtinger.flutterproductionboilerplate.flutter_production_boilerplate" minSdkVersion 23 - targetSdkVersion 31 + targetSdkVersion 32 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 3a2dbbbd0d53dda401842a068383beb7dd523082..27fc74eddd33e2f33f25436289f672814d23a63d 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,41 +1,41 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="dev.feichtinger.flutterproductionboilerplate.flutter_production_boilerplate"> + <queries> <intent> <action android:name="android.intent.action.VIEW" /> <data android:scheme="https" /> </intent> </queries> - <application - android:label="flutter_production_boilerplate" - android:icon="@mipmap/ic_launcher"> + <application + android:icon="@mipmap/ic_launcher" + android:label="flutter_production_boilerplate"> <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:exported="true" android:hardwareAccelerated="true" + android:launchMode="singleTop" + android:theme="@style/LaunchTheme" android:windowSoftInputMode="adjustResize"> <!-- 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" - /> + 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" - /> + 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"/> + <action android:name="android.intent.action.MAIN" /> + <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <!-- Don't delete the meta-data below. diff --git a/pubspec.lock b/pubspec.lock index be0f7a71a665d9cb24c47b5940794f5dd502721a..65ef7a858b1d428cf84e6276efa3c4a7a8889a2c 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,7 +7,7 @@ packages: name: args url: "https://pub.dartlang.org" source: hosted - version: "2.3.0" + version: "2.3.1" async: dependency: transitive description: @@ -21,7 +21,7 @@ packages: name: bloc url: "https://pub.dartlang.org" source: hosted - version: "8.0.2" + version: "8.0.3" boolean_selector: dependency: transitive description: @@ -56,21 +56,21 @@ packages: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0" + version: "1.16.0" crypto: dependency: transitive description: name: crypto url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "3.0.2" easy_localization: dependency: "direct main" description: name: easy_localization url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.0.1" easy_logger: dependency: transitive description: @@ -91,14 +91,14 @@ packages: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.3.0" ffi: dependency: transitive description: name: ffi url: "https://pub.dartlang.org" source: hosted - version: "1.1.2" + version: "2.0.0" file: dependency: transitive description: @@ -124,14 +124,14 @@ packages: name: flutter_displaymode url: "https://pub.dartlang.org" source: hosted - version: "0.3.2" + version: "0.4.0" flutter_lints: dependency: "direct dev" description: name: flutter_lints url: "https://pub.dartlang.org" source: hosted - version: "1.0.4" + version: "2.0.1" flutter_localizations: dependency: transitive description: flutter @@ -153,14 +153,14 @@ packages: name: hive url: "https://pub.dartlang.org" source: hosted - version: "2.0.5" + version: "2.2.1" hydrated_bloc: dependency: "direct main" description: name: hydrated_bloc url: "https://pub.dartlang.org" source: hosted - version: "8.0.0" + version: "8.1.0" intl: dependency: transitive description: @@ -181,14 +181,14 @@ packages: name: js url: "https://pub.dartlang.org" source: hosted - version: "0.6.3" + version: "0.6.4" lints: dependency: transitive description: name: lints url: "https://pub.dartlang.org" source: hosted - version: "1.0.1" + version: "2.0.0" matcher: dependency: transitive description: @@ -202,7 +202,7 @@ packages: name: material_color_utilities url: "https://pub.dartlang.org" source: hosted - version: "0.1.3" + version: "0.1.4" meta: dependency: transitive description: @@ -223,56 +223,56 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.0" + version: "1.8.1" path_provider: dependency: "direct main" description: name: path_provider url: "https://pub.dartlang.org" source: hosted - version: "2.0.9" + version: "2.0.10" path_provider_android: dependency: transitive description: name: path_provider_android url: "https://pub.dartlang.org" source: hosted - version: "2.0.11" + version: "2.0.14" path_provider_ios: dependency: transitive description: name: path_provider_ios url: "https://pub.dartlang.org" source: hosted - version: "2.0.7" + version: "2.0.9" path_provider_linux: dependency: transitive description: name: path_provider_linux url: "https://pub.dartlang.org" source: hosted - version: "2.1.5" + version: "2.1.7" path_provider_macos: dependency: transitive description: name: path_provider_macos url: "https://pub.dartlang.org" source: hosted - version: "2.0.5" + version: "2.0.6" path_provider_platform_interface: dependency: transitive description: name: path_provider_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.0.3" + version: "2.0.4" path_provider_windows: dependency: transitive description: name: path_provider_windows url: "https://pub.dartlang.org" source: hosted - version: "2.0.5" + version: "2.1.0" platform: dependency: transitive description: @@ -300,42 +300,42 @@ packages: name: provider url: "https://pub.dartlang.org" source: hosted - version: "6.0.2" + version: "6.0.3" shared_preferences: dependency: transitive description: name: shared_preferences url: "https://pub.dartlang.org" source: hosted - version: "2.0.13" + version: "2.0.15" shared_preferences_android: dependency: transitive description: name: shared_preferences_android url: "https://pub.dartlang.org" source: hosted - version: "2.0.11" + version: "2.0.12" shared_preferences_ios: dependency: transitive description: name: shared_preferences_ios url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "2.1.1" shared_preferences_linux: dependency: transitive description: name: shared_preferences_linux url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "2.1.1" shared_preferences_macos: dependency: transitive description: name: shared_preferences_macos url: "https://pub.dartlang.org" source: hosted - version: "2.0.3" + version: "2.0.4" shared_preferences_platform_interface: dependency: transitive description: @@ -349,14 +349,14 @@ packages: name: shared_preferences_web url: "https://pub.dartlang.org" source: hosted - version: "2.0.3" + version: "2.0.4" shared_preferences_windows: dependency: transitive description: name: shared_preferences_windows url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "2.1.1" sky_engine: dependency: transitive description: flutter @@ -368,7 +368,7 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.1" + version: "1.8.2" stack_trace: dependency: transitive description: @@ -396,7 +396,7 @@ packages: name: synchronized url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.0.0+2" term_glyph: dependency: transitive description: @@ -410,49 +410,49 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.8" + version: "0.4.9" typed_data: dependency: transitive description: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.3.0" + version: "1.3.1" url_launcher: dependency: "direct main" description: name: url_launcher url: "https://pub.dartlang.org" source: hosted - version: "6.0.20" + version: "6.1.2" url_launcher_android: dependency: transitive description: name: url_launcher_android url: "https://pub.dartlang.org" source: hosted - version: "6.0.15" + version: "6.0.17" url_launcher_ios: dependency: transitive description: name: url_launcher_ios url: "https://pub.dartlang.org" source: hosted - version: "6.0.15" + version: "6.0.17" url_launcher_linux: dependency: transitive description: name: url_launcher_linux url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.0.1" url_launcher_macos: dependency: transitive description: name: url_launcher_macos url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.0.1" url_launcher_platform_interface: dependency: transitive description: @@ -466,28 +466,28 @@ packages: name: url_launcher_web url: "https://pub.dartlang.org" source: hosted - version: "2.0.8" + version: "2.0.11" url_launcher_windows: dependency: transitive description: name: url_launcher_windows url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.0.1" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" + version: "2.1.2" win32: dependency: transitive description: name: win32 url: "https://pub.dartlang.org" source: hosted - version: "2.4.1" + version: "2.7.0" xdg_directories: dependency: transitive description: @@ -496,5 +496,5 @@ packages: source: hosted version: "0.2.0+1" sdks: - dart: ">=2.15.0 <3.0.0" - flutter: ">=2.10.0" + dart: ">=2.17.0 <3.0.0" + flutter: ">=3.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index 9a9742a90ae3740e53165ee9612506ea4ff56094..64cea6dcfb003dc7c291c3ec87d09169fe80e52e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 0.0.4+1 +version: 0.0.5+1 environment: sdk: ">=2.12.0 <3.0.0" @@ -24,21 +24,21 @@ dependencies: flutter: sdk: flutter - bloc: ^8.0.2 + bloc: ^8.0.3 flutter_bloc: ^8.0.1 - hydrated_bloc: ^8.0.0 + hydrated_bloc: ^8.1.0 equatable: ^2.0.3 - path_provider: ^2.0.9 - flutter_displaymode: ^0.3.2 - easy_localization: ^3.0.0 - hive: ^2.0.5 - url_launcher: ^6.0.20 + path_provider: ^2.0.10 + flutter_displaymode: ^0.4.0 + easy_localization: ^3.0.1 + hive: ^2.2.1 + url_launcher: ^6.1.2 ionicons: ^0.1.2 dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^1.0.4 + flutter_lints: ^2.0.1 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec