From 335573291914a7b9bada4d3c420024ec83ce4f10 Mon Sep 17 00:00:00 2001 From: Nisarg Ratani Date: Tue, 31 May 2022 16:22:17 +0530 Subject: [PATCH] updated as per flutter_3.0 --- analysis_options.yaml | 12 +- android/app/build.gradle | 17 +- android/app/src/main/AndroidManifest.xml | 7 +- android/build.gradle | 6 +- .../gradle/wrapper/gradle-wrapper.properties | 2 +- lib/app_constants.dart | 2 +- lib/src/analytics/analytics.dart | 6 +- .../analytics/firebase_analytics_logger.dart | 6 +- lib/src/app.dart | 2 +- lib/src/app_update/app_update.dart | 13 +- .../remote_config_repository.dart | 16 +- lib/src/utils/network_connectivity.dart | 2 +- pubspec.lock | 405 ++++++++++++++---- pubspec.yaml | 32 +- 14 files changed, 384 insertions(+), 144 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 1b7f225..ab815c9 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,10 +1,18 @@ -include: package:lint/analysis_options.yaml +include: package:flutter_lints/flutter.yaml analyzer: exclude: - - lib/**.g.dart + - lib/**/*.g.dart + - lib/**/*.freezed.dart + - lib/generated + - lib/generated/locale_keys.g.dart + - lib/src/di/injectable.config.dart + + errors: + missing_required_param: error linter: rules: exclude: - sort_pub_dependencies + diff --git a/android/app/build.gradle b/android/app/build.gradle index 36bf992..a53b2c5 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -26,7 +26,18 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 28 + compileSdkVersion flutter.compileSdkVersion + ndkVersion flutter.ndkVersion + + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + + kotlinOptions { + jvmTarget = '1.8' + } + sourceSets { main.java.srcDirs += 'src/main/kotlin' @@ -39,8 +50,8 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.example.flutter_base_project" - minSdkVersion 16 - targetSdkVersion 28 + minSdkVersion flutter.minSdkVersion + targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 1d75c7d..69ef4d3 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -6,16 +6,21 @@ additional functionality it is fine to subclass or reimplement FlutterApplication and put your custom class here. --> + diff --git a/android/build.gradle b/android/build.gradle index 9353dd7..24a44f1 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '1.3.50' + ext.kotlin_version = '1.6.10' repositories { google() jcenter() @@ -9,10 +9,10 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.5.0' + classpath 'com.android.tools.build:gradle:7.1.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.google.gms:google-services:4.3.0' - classpath 'io.fabric.tools:gradle:1.26.1' + classpath 'io.fabric.tools:gradle:1.28.0' } } diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 296b146..cc5527d 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip diff --git a/lib/app_constants.dart b/lib/app_constants.dart index 2433f8e..ba4a12b 100644 --- a/lib/app_constants.dart +++ b/lib/app_constants.dart @@ -1,4 +1,4 @@ -//TODO Update store URL for update +//Update store URL for update const androidPlayStoreUrl = 'https://play.app.goo.gl/?link=https://play.google.com/store/apps/details?id=com.app.id&ddl=1&pcampaignid=web_ddl_1'; const iosAppStoreUrl = ''; diff --git a/lib/src/analytics/analytics.dart b/lib/src/analytics/analytics.dart index 93611b9..ab6362a 100644 --- a/lib/src/analytics/analytics.dart +++ b/lib/src/analytics/analytics.dart @@ -1,6 +1,4 @@ import 'package:firebase_analytics/firebase_analytics.dart'; -import 'package:firebase_analytics/observer.dart'; -import 'package:flutter/material.dart'; import 'package:flutter_base_project/src/analytics/firebase_analytics_logger.dart'; abstract class AnalyticsLogger { @@ -17,8 +15,8 @@ AnalyticsLogger getAnalysisLogger() { return FirebaseAnalyticsLogger(); } -RouteObserver> navigationObserverAnalytics() { +FirebaseAnalyticsObserver navigationObserverAnalytics() { return FirebaseAnalyticsObserver( - analytics: FirebaseAnalytics(), + analytics: FirebaseAnalytics.instance, ); } diff --git a/lib/src/analytics/firebase_analytics_logger.dart b/lib/src/analytics/firebase_analytics_logger.dart index 7c2c056..684df81 100644 --- a/lib/src/analytics/firebase_analytics_logger.dart +++ b/lib/src/analytics/firebase_analytics_logger.dart @@ -11,7 +11,7 @@ class FirebaseAnalyticsLogger implements AnalyticsLogger { } FirebaseAnalyticsLogger._() { - _client = FirebaseAnalytics(); + _client = FirebaseAnalytics.instance; } @override @@ -25,7 +25,7 @@ class FirebaseAnalyticsLogger implements AnalyticsLogger { @override void loginUser({Map? userData}) { _client!.logLogin(); - _client!.setUserId(userData!['id'] as String); + _client!.setUserId(id: userData!['id'] as String); _client!.setUserProperty(name: 'email', value: userData['email'] as String); _client!.setUserProperty( name: 'name', @@ -36,7 +36,7 @@ class FirebaseAnalyticsLogger implements AnalyticsLogger { @override void logoutUser() { _client!.logEvent(name: "SignOut"); - _client!.setUserId(null); + _client!.setUserId(); _client!.setUserProperty(name: 'email', value: null); _client!.setUserProperty(name: 'name', value: null); } diff --git a/lib/src/app.dart b/lib/src/app.dart index ba689fd..c7c29ae 100644 --- a/lib/src/app.dart +++ b/lib/src/app.dart @@ -79,7 +79,7 @@ class _AppState extends State { Widget build(BuildContext context) { return MaterialApp( debugShowCheckedModeBanner: false, - //TODO Change App Title + //Change App Title title: 'Flutter Demo', localizationsDelegates: [ GlobalMaterialLocalizations.delegate, diff --git a/lib/src/app_update/app_update.dart b/lib/src/app_update/app_update.dart index 3733735..a45758e 100644 --- a/lib/src/app_update/app_update.dart +++ b/lib/src/app_update/app_update.dart @@ -1,14 +1,12 @@ import 'dart:io' show Platform; import 'package:easy_localization/easy_localization.dart'; -import 'package:flutter/cupertino.dart'; -import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter_base_project/app_constants.dart'; import 'package:flutter_base_project/src/app_update/app_update_key_provider.dart'; import 'package:flutter_base_project/src/remote_config/remote_config_repository.dart'; -import 'package:package_info/package_info.dart'; -import 'package:url_launcher/url_launcher.dart'; +import 'package:package_info_plus/package_info_plus.dart'; +import 'package:url_launcher/url_launcher_string.dart'; enum UpdateMode { noUpdate, flexibleUpdate, immediateUpdate } @@ -112,7 +110,10 @@ Future openStore() async { } else if (Platform.isIOS) { url = iosAppStoreUrl; } - if (await canLaunch(url!)) { - await launch(url); + if (await canLaunchUrlString(url!)) { + await launchUrlString( + url, + mode: LaunchMode.externalApplication, + ); } } diff --git a/lib/src/remote_config/remote_config_repository.dart b/lib/src/remote_config/remote_config_repository.dart index 9788252..72c4001 100644 --- a/lib/src/remote_config/remote_config_repository.dart +++ b/lib/src/remote_config/remote_config_repository.dart @@ -3,24 +3,24 @@ import 'package:flutter/services.dart'; class RemoteConfigRepository { static final _instance = RemoteConfigRepository._(); - RemoteConfig? _config; + FirebaseRemoteConfig? _config; factory RemoteConfigRepository() => _instance; RemoteConfigRepository._(); Future initConfig() async { - if (_config == null) { - _config = await RemoteConfig.instance; - } + _config ??= FirebaseRemoteConfig.instance; } Future syncConfig() async { try { - await _config!.setConfigSettings(RemoteConfigSettings( - fetchTimeout: const Duration(seconds: 3), - minimumFetchInterval: Duration.zero, - )); + await _config!.setConfigSettings( + RemoteConfigSettings( + fetchTimeout: const Duration(seconds: 3), + minimumFetchInterval: Duration.zero, + ), + ); await _config!.fetchAndActivate(); } catch (err) { diff --git a/lib/src/utils/network_connectivity.dart b/lib/src/utils/network_connectivity.dart index 881d7bd..6fbaed3 100644 --- a/lib/src/utils/network_connectivity.dart +++ b/lib/src/utils/network_connectivity.dart @@ -1,4 +1,4 @@ -import 'package:connectivity/connectivity.dart'; +import 'package:connectivity_plus/connectivity_plus.dart'; import 'package:flutter_base_project/src/utils/custom_exceptions.dart'; abstract class NetworkConnectivityChecker { diff --git a/pubspec.lock b/pubspec.lock index c0388e2..306de7d 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,14 +7,14 @@ packages: name: args url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" + version: "2.3.1" async: dependency: transitive description: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.6.1" + version: "2.8.2" boolean_selector: dependency: transitive description: @@ -28,21 +28,35 @@ packages: name: cached_network_image url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.2.1" + cached_network_image_platform_interface: + dependency: transitive + description: + name: cached_network_image_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" + cached_network_image_web: + dependency: transitive + description: + name: cached_network_image_web + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" characters: dependency: transitive description: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.2.0" charcode: dependency: transitive description: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.3.1" clock: dependency: transitive description: @@ -56,70 +70,119 @@ packages: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0" - connectivity: + version: "1.16.0" + connectivity_plus: dependency: "direct main" description: - name: connectivity + name: connectivity_plus url: "https://pub.dartlang.org" source: hosted - version: "3.0.6" - connectivity_for_web: + version: "2.3.1" + connectivity_plus_linux: dependency: transitive description: - name: connectivity_for_web + name: connectivity_plus_linux url: "https://pub.dartlang.org" source: hosted - version: "0.4.0" - connectivity_macos: + version: "1.3.1" + connectivity_plus_macos: dependency: transitive description: - name: connectivity_macos + name: connectivity_plus_macos url: "https://pub.dartlang.org" source: hosted - version: "0.2.0" - connectivity_platform_interface: + version: "1.2.2" + connectivity_plus_platform_interface: dependency: transitive description: - name: connectivity_platform_interface + name: connectivity_plus_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.0.1" + version: "1.2.1" + connectivity_plus_web: + dependency: transitive + description: + name: connectivity_plus_web + url: "https://pub.dartlang.org" + source: hosted + version: "1.2.1" + connectivity_plus_windows: + dependency: transitive + description: + name: connectivity_plus_windows + url: "https://pub.dartlang.org" + source: hosted + version: "1.2.0" crypto: dependency: transitive description: name: crypto url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" - device_info: + version: "3.0.2" + dbus: + dependency: transitive + description: + name: dbus + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.4" + device_info_plus: dependency: "direct main" description: - name: device_info + name: device_info_plus url: "https://pub.dartlang.org" source: hosted - version: "2.0.2" - device_info_platform_interface: + version: "3.2.3" + device_info_plus_linux: dependency: transitive description: - name: device_info_platform_interface + name: device_info_plus_linux url: "https://pub.dartlang.org" source: hosted - version: "2.0.1" + version: "2.1.1" + device_info_plus_macos: + dependency: transitive + description: + name: device_info_plus_macos + url: "https://pub.dartlang.org" + source: hosted + version: "2.2.3" + device_info_plus_platform_interface: + dependency: transitive + description: + name: device_info_plus_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "2.3.0+1" + device_info_plus_web: + dependency: transitive + description: + name: device_info_plus_web + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.0" + device_info_plus_windows: + dependency: transitive + description: + name: device_info_plus_windows + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" dio: dependency: transitive description: name: dio url: "https://pub.dartlang.org" source: hosted - version: "4.0.0" + version: "4.0.6" 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: @@ -133,105 +196,126 @@ 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: "1.2.1" file: dependency: transitive description: name: file url: "https://pub.dartlang.org" source: hosted - version: "6.1.0" + version: "6.1.2" firebase: dependency: transitive description: name: firebase url: "https://pub.dartlang.org" source: hosted - version: "9.0.1" + version: "9.0.3" firebase_analytics: dependency: "direct main" description: name: firebase_analytics url: "https://pub.dartlang.org" source: hosted - version: "8.1.2" + version: "9.1.9" firebase_analytics_platform_interface: dependency: transitive description: name: firebase_analytics_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.0.1" + version: "3.1.7" firebase_analytics_web: dependency: transitive description: name: firebase_analytics_web url: "https://pub.dartlang.org" source: hosted - version: "0.3.0+1" + version: "0.4.0+14" firebase_core: dependency: "direct main" description: name: firebase_core url: "https://pub.dartlang.org" source: hosted - version: "1.3.0" + version: "1.17.1" firebase_core_platform_interface: dependency: transitive description: name: firebase_core_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "4.0.1" + version: "4.4.0" firebase_core_web: dependency: transitive description: name: firebase_core_web url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.6.4" firebase_crashlytics: dependency: "direct main" description: name: firebase_crashlytics url: "https://pub.dartlang.org" source: hosted - version: "2.0.6" + version: "2.8.1" firebase_crashlytics_platform_interface: dependency: transitive description: name: firebase_crashlytics_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "3.0.6" + version: "3.2.7" firebase_performance: dependency: transitive description: name: firebase_performance url: "https://pub.dartlang.org" source: hosted - version: "0.7.0+5" + version: "0.7.1+5" + firebase_performance_platform_interface: + dependency: transitive + description: + name: firebase_performance_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "0.0.1+8" + firebase_performance_web: + dependency: transitive + description: + name: firebase_performance_web + url: "https://pub.dartlang.org" + source: hosted + version: "0.0.3+1" firebase_remote_config: dependency: "direct main" description: name: firebase_remote_config url: "https://pub.dartlang.org" source: hosted - version: "0.10.0+2" + version: "2.0.8" firebase_remote_config_platform_interface: dependency: transitive description: name: firebase_remote_config_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "0.3.0+2" + version: "1.1.7" + firebase_remote_config_web: + dependency: transitive + description: + name: firebase_remote_config_web + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.13" flutter: dependency: "direct main" description: flutter @@ -243,14 +327,21 @@ packages: name: flutter_blurhash url: "https://pub.dartlang.org" source: hosted - version: "0.6.0" + version: "0.7.0" flutter_cache_manager: dependency: transitive description: name: flutter_cache_manager url: "https://pub.dartlang.org" source: hosted - version: "3.1.2" + version: "3.3.0" + flutter_lints: + dependency: "direct dev" + description: + name: flutter_lints + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1" flutter_localizations: dependency: "direct main" description: flutter @@ -272,21 +363,21 @@ packages: name: http url: "https://pub.dartlang.org" source: hosted - version: "0.13.3" + version: "0.13.4" http_interceptor: dependency: transitive description: name: http_interceptor url: "https://pub.dartlang.org" source: hosted - version: "1.0.0" + version: "1.0.2" http_parser: dependency: transitive description: name: http_parser url: "https://pub.dartlang.org" source: hosted - version: "4.0.0" + version: "4.0.1" intl: dependency: transitive description: @@ -300,28 +391,35 @@ packages: name: js url: "https://pub.dartlang.org" source: hosted - version: "0.6.3" - lint: - dependency: "direct dev" + version: "0.6.4" + lints: + dependency: transitive description: - name: lint + name: lints url: "https://pub.dartlang.org" source: hosted - version: "1.5.3" + version: "2.0.0" matcher: dependency: transitive description: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.10" + version: "0.12.11" + material_color_utilities: + dependency: transitive + description: + name: material_color_utilities + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.4" meta: dependency: transitive description: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0" + version: "1.7.0" nested: dependency: transitive description: @@ -329,62 +427,118 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.0.0" + nm: + dependency: transitive + description: + name: nm + url: "https://pub.dartlang.org" + source: hosted + version: "0.5.0" octo_image: dependency: transitive description: name: octo_image url: "https://pub.dartlang.org" source: hosted - version: "1.0.0+1" - package_info: + version: "1.0.2" + package_info_plus: dependency: "direct main" description: - name: package_info + name: package_info_plus + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.2" + package_info_plus_linux: + dependency: transitive + description: + name: package_info_plus_linux + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.5" + package_info_plus_macos: + dependency: transitive + description: + name: package_info_plus_macos + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.0" + package_info_plus_platform_interface: + dependency: transitive + description: + name: package_info_plus_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + package_info_plus_web: + dependency: transitive + description: + name: package_info_plus_web + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.5" + package_info_plus_windows: + dependency: transitive + description: + name: package_info_plus_windows url: "https://pub.dartlang.org" source: hosted - version: "2.0.2" + version: "1.0.5" path: dependency: transitive description: 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.2" + version: "2.0.10" + path_provider_android: + dependency: transitive + description: + name: path_provider_android + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.14" + path_provider_ios: + dependency: transitive + description: + name: path_provider_ios + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.9" path_provider_linux: dependency: transitive description: name: path_provider_linux url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.1.7" path_provider_macos: dependency: transitive description: name: path_provider_macos url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + 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.0" + version: "2.0.4" path_provider_windows: dependency: transitive description: name: path_provider_windows url: "https://pub.dartlang.org" source: hosted - version: "2.0.1" + version: "2.0.7" pedantic: dependency: transitive description: @@ -407,70 +561,112 @@ packages: name: permission_handler url: "https://pub.dartlang.org" source: hosted - version: "8.1.1" + version: "9.2.0" + permission_handler_android: + dependency: transitive + description: + name: permission_handler_android + url: "https://pub.dartlang.org" + source: hosted + version: "9.0.2+1" + permission_handler_apple: + dependency: transitive + description: + name: permission_handler_apple + url: "https://pub.dartlang.org" + source: hosted + version: "9.0.4" permission_handler_platform_interface: dependency: transitive description: name: permission_handler_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "3.6.0" + version: "3.7.0" + permission_handler_windows: + dependency: transitive + description: + name: permission_handler_windows + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0" + petitparser: + dependency: transitive + description: + name: petitparser + url: "https://pub.dartlang.org" + source: hosted + version: "5.0.0" platform: dependency: transitive description: name: platform url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.1.0" plugin_platform_interface: dependency: transitive description: name: plugin_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.1.2" process: dependency: transitive description: name: process url: "https://pub.dartlang.org" source: hosted - version: "4.1.0" + version: "4.2.4" provider: dependency: "direct main" description: name: provider url: "https://pub.dartlang.org" source: hosted - version: "5.0.0" + version: "6.0.3" rxdart: dependency: transitive description: name: rxdart url: "https://pub.dartlang.org" source: hosted - version: "0.27.1" + version: "0.27.4" shared_preferences: dependency: "direct main" description: name: shared_preferences url: "https://pub.dartlang.org" source: hosted - version: "2.0.6" + version: "2.0.15" + shared_preferences_android: + dependency: transitive + description: + name: shared_preferences_android + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.12" + shared_preferences_ios: + dependency: transitive + description: + name: shared_preferences_ios + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" shared_preferences_linux: dependency: transitive description: name: shared_preferences_linux url: "https://pub.dartlang.org" source: hosted - version: "2.0.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.0" + version: "2.0.4" shared_preferences_platform_interface: dependency: transitive description: @@ -484,14 +680,14 @@ packages: name: shared_preferences_web url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.4" shared_preferences_windows: dependency: transitive description: name: shared_preferences_windows url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.1.1" sky_engine: dependency: transitive description: flutter @@ -503,21 +699,21 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.1" + version: "1.8.2" sqflite: dependency: transitive description: name: sqflite url: "https://pub.dartlang.org" source: hosted - version: "2.0.0+3" + version: "2.0.2+1" sqflite_common: dependency: transitive description: name: sqflite_common url: "https://pub.dartlang.org" source: hosted - version: "2.0.0+2" + version: "2.2.1+1" stack_trace: dependency: transitive description: @@ -545,7 +741,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: @@ -559,84 +755,105 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.3.0" + 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.6" + version: "6.1.2" + url_launcher_android: + dependency: transitive + description: + name: url_launcher_android + url: "https://pub.dartlang.org" + source: hosted + version: "6.0.17" + url_launcher_ios: + dependency: transitive + description: + name: url_launcher_ios + url: "https://pub.dartlang.org" + source: hosted + version: "6.0.17" url_launcher_linux: dependency: transitive description: name: url_launcher_linux url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "3.0.1" url_launcher_macos: dependency: transitive description: name: url_launcher_macos url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "3.0.1" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.0.3" + version: "2.0.5" url_launcher_web: dependency: transitive description: name: url_launcher_web url: "https://pub.dartlang.org" source: hosted - version: "2.0.1" + version: "2.0.11" url_launcher_windows: dependency: transitive description: name: url_launcher_windows url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "3.0.1" uuid: dependency: transitive description: name: uuid url: "https://pub.dartlang.org" source: hosted - version: "3.0.4" + version: "3.0.6" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "2.1.2" win32: dependency: transitive description: name: win32 url: "https://pub.dartlang.org" source: hosted - version: "2.1.3" + version: "2.6.1" xdg_directories: dependency: transitive description: name: xdg_directories url: "https://pub.dartlang.org" source: hosted - version: "0.2.0" + version: "0.2.0+1" + xml: + dependency: transitive + description: + name: xml + url: "https://pub.dartlang.org" + source: hosted + version: "6.1.0" sdks: - dart: ">=2.13.0 <3.0.0" - flutter: ">=2.0.0" + dart: ">=2.17.1 <3.0.0" + flutter: ">=3.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index c89ad39..96c5754 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+2 publish_to: none environment: - sdk: ">=2.12.0 <3.0.0" + sdk: ">=2.17.1 <3.0.0" dependencies: flutter: @@ -14,35 +14,35 @@ dependencies: flutter_localizations: sdk: flutter - easy_localization: ^3.0.0 + easy_localization: ^3.0.1 - device_info: ^2.0.2 + device_info_plus: ^3.2.3 - package_info: ^2.0.2 + package_info_plus: ^1.4.2 - url_launcher: ^6.0.6 + url_launcher: ^6.1.2 #Firebase - firebase_core: ^1.3.0 - firebase_crashlytics: ^2.0.6 - firebase_analytics: ^8.1.2 - firebase_remote_config: ^0.10.0+2 + firebase_core: ^1.17.1 + firebase_crashlytics: ^2.8.1 + firebase_analytics: ^9.1.9 + firebase_remote_config: ^2.0.8 performance_interceptor: git: url: https://github.com/kalyanig-solutelabs/firebase_performance_interceptor.git - connectivity: ^3.0.6 - shared_preferences: ^2.0.6 - permission_handler: ^8.1.1 - cached_network_image: ^3.0.0 - path_provider: ^2.0.2 - provider: ^5.0.0 + connectivity_plus: ^2.3.1 + shared_preferences: ^2.0.15 + permission_handler: ^9.2.0 + cached_network_image: ^3.2.1 + path_provider: ^2.0.10 + provider: ^6.0.3 dev_dependencies: flutter_test: sdk: flutter - lint: ^1.5.3 + flutter_lints: ^2.0.1 flutter: uses-material-design: true