diff --git a/.github/workflows/commit_check.yml b/.github/workflows/commit_check.yml index 228f520..aac3250 100644 --- a/.github/workflows/commit_check.yml +++ b/.github/workflows/commit_check.yml @@ -9,13 +9,16 @@ on: jobs: releases: name: Check commit - runs-on: ubuntu-latest + runs-on: macos-latest timeout-minutes: 30 steps: - name: checkout all the submodules uses: actions/checkout@v3 with: submodules: recursive + fetch-depth: 0 + - run: cd submodules/flutter + - run: git remote set-url origin https://github.com/flutter/flutter.git - run: submodules/flutter/bin/flutter doctor - run: submodules/flutter/bin/flutter pub get - run: submodules/flutter/bin/dart format --set-exit-if-changed lib test integration_test diff --git a/.github/workflows/publish_ios.yml b/.github/workflows/publish_ios.yml index b189bec..f134a1f 100644 --- a/.github/workflows/publish_ios.yml +++ b/.github/workflows/publish_ios.yml @@ -23,6 +23,9 @@ jobs: uses: actions/checkout@v3 with: submodules: recursive + fetch-depth: 0 + - run: cd submodules/flutter + - run: git remote set-url origin https://github.com/flutter/flutter.git - run: submodules/flutter/bin/flutter doctor - run: submodules/flutter/bin/flutter pub get - run: submodules/flutter/bin/dart format --set-exit-if-changed lib test integration_test diff --git a/components/in_app_review_platform_interface/test/method_channel_in_app_review_test.dart b/components/in_app_review_platform_interface/test/method_channel_in_app_review_test.dart deleted file mode 100644 index 64bd2d8..0000000 --- a/components/in_app_review_platform_interface/test/method_channel_in_app_review_test.dart +++ /dev/null @@ -1,121 +0,0 @@ -import 'package:flutter/services.dart'; -import 'package:flutter_test/flutter_test.dart'; -import 'package:in_app_review_platform_interface/method_channel_in_app_review.dart'; -import 'package:platform/platform.dart'; - -void main() { - TestWidgetsFlutterBinding.ensureInitialized(); - late MethodChannelInAppReview methodChannelInAppReview; - late List log = []; - const MethodChannel channel = MethodChannel('dev.britannio.in_app_review'); - - setUp(() { - methodChannelInAppReview = MethodChannelInAppReview(); - methodChannelInAppReview.channel = channel; - log = []; - }); - - tearDown(() { - log.clear(); - }); - - group('isAvailable', () { - test( - 'should invoke the isAvailable method channel', - () async { - // ACT - final bool result = await methodChannelInAppReview.isAvailable(); - - // ASSERT - expect(log, [isMethodCall('isAvailable', arguments: null)]); - expect(result, isTrue); - }, - ); - }); - - group('requestReview', () { - test( - 'should invoke the requestReview method channel', - () async { - // ACT - await methodChannelInAppReview.requestReview(); - - // ASSERT - expect(log, [isMethodCall('requestReview', arguments: null)]); - }, - ); - }); - - group('openStoreListing', () { - test( - 'should invoke the openStoreListing method channel on Android', - () async { - // ARRANGE - methodChannelInAppReview.platform = - FakePlatform(operatingSystem: 'android'); - - // ACT - await methodChannelInAppReview.openStoreListing(); - - // ASSERT - expect( - log, - [isMethodCall('openStoreListing', arguments: null)], - ); - }, - ); - test( - 'should invoke the openStoreListing method channel on iOS', - () async { - // ARRANGE - methodChannelInAppReview.platform = - FakePlatform(operatingSystem: 'ios'); - final String appStoreId = "store_id"; - - // ACT - await methodChannelInAppReview.openStoreListing(appStoreId: appStoreId); - - // ASSERT - expect(log, - [isMethodCall('openStoreListing', arguments: appStoreId)]); - }, - ); - test( - 'should invoke the openStoreListing method channel on MacOS', - () async { - // ARRANGE - methodChannelInAppReview.platform = - FakePlatform(operatingSystem: 'macos'); - final String appStoreId = "store_id"; - - // ACT - await methodChannelInAppReview.openStoreListing(appStoreId: appStoreId); - - // ASSERT - expect(log, - [isMethodCall('openStoreListing', arguments: appStoreId)]); - }, - ); - test( - 'should invoke the openStoreListing method channel on Windows', - () async { - // ARRANGE - methodChannelInAppReview.platform = - FakePlatform(operatingSystem: 'windows'); - final String microsoftStoreId = 'store_id'; - - // ACT - await methodChannelInAppReview.openStoreListing( - microsoftStoreId: microsoftStoreId, - ); - - // ASSERT - expect(log, [ - isMethodCall('openStoreListing', arguments: microsoftStoreId) - ]); - }, - skip: - 'The windows uwp implementation still uses the url_launcher package', - ); - }); -} diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index e1e837b..96f05a2 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -291,7 +291,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 1330; - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 3db53b6..b52b2e6 100644 --- a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ Level.verbose; + Level? get level => Level.trace; /// The minimal level allowed in production. static const Level _minimalLevel = Level.info; diff --git a/lib/config/file_output.dart b/lib/config/file_output.dart index f768778..88a847a 100644 --- a/lib/config/file_output.dart +++ b/lib/config/file_output.dart @@ -20,7 +20,7 @@ class CustomFileOutput extends LogOutput { IOSink? _sink; @override - void init() { + Future init() async { _sink = file.openWrite( mode: overrideExisting ? FileMode.writeOnly : FileMode.writeOnlyAppend, encoding: encoding, diff --git a/lib/extensions/object_extension.dart b/lib/extensions/object_extension.dart index fdc9ebe..473cd63 100644 --- a/lib/extensions/object_extension.dart +++ b/lib/extensions/object_extension.dart @@ -14,6 +14,10 @@ extension ObjectExtension on Object { String identifier = '', StackTrace? stackTrace, }) { - locator.get().e(identifier, this, stackTrace ?? StackTrace.current); + locator.get().e( + identifier, + error: this, + stackTrace: stackTrace ?? StackTrace.current, + ); } } diff --git a/lib/main.dart b/lib/main.dart index 1ee41d7..9ee2fb6 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -58,8 +58,8 @@ Future main({bool testing = false}) async { FlutterError.onError = (FlutterErrorDetails details) { locator.get().e( details.summary, - details.exceptionAsString(), - details.stack, + error: details.exceptionAsString(), + stackTrace: details.stack, ); }; @@ -241,7 +241,7 @@ class HackiApp extends StatelessWidget { create: (BuildContext context) => TabCubit( preferenceCubit: context.read(), )..init(), - ) + ), ], child: AdaptiveTheme( light: ThemeData( diff --git a/lib/repositories/postable_repository.dart b/lib/repositories/postable_repository.dart index 909e66f..b1db15b 100644 --- a/lib/repositories/postable_repository.dart +++ b/lib/repositories/postable_repository.dart @@ -64,7 +64,7 @@ class PostableRepository { validateStatus: validateStatus, ), ); - } on DioError catch (e) { + } on DioException catch (e) { throw ServiceException(e.message); } } diff --git a/lib/screens/item/item_screen.dart b/lib/screens/item/item_screen.dart index fa35416..14a634b 100644 --- a/lib/screens/item/item_screen.dart +++ b/lib/screens/item/item_screen.dart @@ -370,7 +370,7 @@ class _ItemScreenState extends State with RouteAware { ), SizedBox( height: MediaQuery.of(context).viewInsets.bottom, - ) + ), ], ); }, diff --git a/lib/screens/item/widgets/login_dialog.dart b/lib/screens/item/widgets/login_dialog.dart index 24fc4e4..0c215ec 100644 --- a/lib/screens/item/widgets/login_dialog.dart +++ b/lib/screens/item/widgets/login_dialog.dart @@ -141,7 +141,7 @@ class _LoginDialogState extends State { ), ], ), - ) + ), ], ), Padding( diff --git a/lib/screens/item/widgets/more_popup_menu.dart b/lib/screens/item/widgets/more_popup_menu.dart index ef05933..ce972aa 100644 --- a/lib/screens/item/widgets/more_popup_menu.dart +++ b/lib/screens/item/widgets/more_popup_menu.dart @@ -285,7 +285,7 @@ class MorePopupMenu extends StatelessWidget { child: SearchScreen( fromUserDialog: true, ), - ) + ), ], ), ), diff --git a/lib/screens/item/widgets/poll_view.dart b/lib/screens/item/widgets/poll_view.dart index a8bdeff..8b6062d 100644 --- a/lib/screens/item/widgets/poll_view.dart +++ b/lib/screens/item/widgets/poll_view.dart @@ -134,7 +134,7 @@ class _PollViewState extends State { ), ], ), - ) + ), ], ), ); diff --git a/lib/screens/profile/profile_screen.dart b/lib/screens/profile/profile_screen.dart index ac879ba..3ef3250 100644 --- a/lib/screens/profile/profile_screen.dart +++ b/lib/screens/profile/profile_screen.dart @@ -363,7 +363,7 @@ class _ProfileScreenState extends State ? [comment] : [ ...children, - comment.copyWith(level: children.length) + comment.copyWith(level: children.length), ], onlyShowTargetComment: true, ), diff --git a/lib/screens/profile/widgets/settings.dart b/lib/screens/profile/widgets/settings.dart index 4eb0dc0..610018e 100644 --- a/lib/screens/profile/widgets/settings.dart +++ b/lib/screens/profile/widgets/settings.dart @@ -361,7 +361,7 @@ class _SettingsState extends State { ), Spacer(), ], - ) + ), ], ), ); diff --git a/lib/screens/widgets/story_tile.dart b/lib/screens/widgets/story_tile.dart index 0fbd5d9..6f4afa8 100644 --- a/lib/screens/widgets/story_tile.dart +++ b/lib/screens/widgets/story_tile.dart @@ -229,7 +229,7 @@ class _LinkPreviewPlaceholder extends StatelessWidget { ], ), ), - ) + ), ], ), ), diff --git a/lib/services/web_analyzer.dart b/lib/services/web_analyzer.dart index 6687ee2..eaa7e9e 100644 --- a/lib/services/web_analyzer.dart +++ b/lib/services/web_analyzer.dart @@ -273,7 +273,7 @@ class WebAnalyzer { info.title, info.description, info.icon, - info.image + info.image, ]; } else if (info is WebVideoInfo) { return ['1', info.image]; diff --git a/lib/utils/html_util.dart b/lib/utils/html_util.dart index 8b7d9f2..7201144 100644 --- a/lib/utils/html_util.dart +++ b/lib/utils/html_util.dart @@ -26,8 +26,8 @@ abstract class HtmlUtil { .querySelectorAll("input[type='hidden']"); return { if (hiddenInputs != null) - for (dom.Element hiddenInput in hiddenInputs) - hiddenInput.attributes['name']!: hiddenInput.attributes['value']! + for (final dom.Element hiddenInput in hiddenInputs) + hiddenInput.attributes['name']!: hiddenInput.attributes['value']!, }; } diff --git a/pubspec.lock b/pubspec.lock index d79aae0..999d3fa 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,34 +5,34 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: "405666cd3cf0ee0a48d21ec67e65406aad2c726d9fa58840d3375e7bdcd32a07" + sha256: ae92f5d747aee634b87f89d9946000c2de774be1d6ac3e58268224348cd0101a url: "https://pub.dev" source: hosted - version: "60.0.0" + version: "61.0.0" adaptive_theme: dependency: "direct main" description: name: adaptive_theme - sha256: "3568bb526d4823c7bb35f9ce3604af15e04cc0e9cc4f257da3604fe6b48d74ae" + sha256: "2d9bfee4240cdfad1b169cb43ac38fb49487e7fe1cc845e2973d4cef1780c0f6" url: "https://pub.dev" source: hosted - version: "3.2.1" + version: "3.3.0" analyzer: dependency: transitive description: name: analyzer - sha256: "1952250bd005bacb895a01bf1b4dc00e3ba1c526cf47dca54dfe24979c65f5b3" + sha256: ea3d8652bda62982addfd92fdc2d0214e5f82e43325104990d4f4c4a2a313562 url: "https://pub.dev" source: hosted - version: "5.12.0" + version: "5.13.0" args: dependency: transitive description: name: args - sha256: c372bb384f273f0c2a8aaaa226dad84dc27c8519a691b888725dec59518ad53a + sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596 url: "https://pub.dev" source: hosted - version: "2.4.1" + version: "2.4.2" async: dependency: transitive description: @@ -53,18 +53,18 @@ packages: dependency: "direct main" description: name: bloc - sha256: "658a5ae59edcf1e58aac98b000a71c762ad8f46f1394c34a52050cafb3e11a80" + sha256: "3820f15f502372d979121de1f6b97bfcf1630ebff8fe1d52fb2b0bfa49be5b49" url: "https://pub.dev" source: hosted - version: "8.1.1" + version: "8.1.2" bloc_test: dependency: "direct dev" description: name: bloc_test - sha256: ffbb60c17ee3d8e3784cb78071088e353199057233665541e8ac6cd438dca8ad + sha256: af0de1a1e16a7536e95dcd7491e0a6d6078e11d2d691988e862280b74f5c7968 url: "https://pub.dev" source: hosted - version: "9.1.1" + version: "9.1.4" boolean_selector: dependency: transitive description: @@ -125,18 +125,18 @@ packages: dependency: "direct main" description: name: collection - sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c" + sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 url: "https://pub.dev" source: hosted - version: "1.17.1" + version: "1.17.2" connectivity_plus: dependency: "direct main" description: name: connectivity_plus - sha256: "45262924896ff72a8cd92b722bb7e3d5020f9e0724531a3e10e22ddae2005991" + sha256: "77a180d6938f78ca7d2382d2240eb626c0f6a735d0bfdce227d8ffb80f95c48b" url: "https://pub.dev" source: hosted - version: "4.0.0" + version: "4.0.2" connectivity_plus_platform_interface: dependency: transitive description: @@ -181,10 +181,10 @@ packages: dependency: transitive description: name: csslib - sha256: b36c7f7e24c0bdf1bf9a3da461c837d1de64b9f8beb190c9011d8c72a3dfd745 + sha256: "706b5707578e0c1b4b7550f64078f0a0f19dec3f50a178ffae7006b0a9ca58fb" url: "https://pub.dev" source: hosted - version: "0.17.2" + version: "1.0.0" dbus: dependency: transitive description: @@ -197,10 +197,10 @@ packages: dependency: "direct main" description: name: device_info_plus - sha256: "9b1a0c32b2a503f8fe9f8764fac7b5fcd4f6bd35d8f49de5350bccf9e2a33b8a" + sha256: "86add5ef97215562d2e090535b0a16f197902b10c369c558a100e74ea06e8659" url: "https://pub.dev" source: hosted - version: "9.0.0" + version: "9.0.3" device_info_plus_platform_interface: dependency: transitive description: @@ -221,10 +221,10 @@ packages: dependency: "direct main" description: name: dio - sha256: "347d56c26d63519552ef9a569f2a593dda99a81fdbdff13c584b7197cfe05059" + sha256: ce75a1b40947fea0a0e16ce73337122a86762e38b982e1ccb909daa3b9bc4197 url: "https://pub.dev" source: hosted - version: "5.1.2" + version: "5.3.2" equatable: dependency: "direct main" description: @@ -262,10 +262,10 @@ packages: dependency: transitive description: name: ffi - sha256: ed5337a5660c506388a9f012be0288fb38b49020ce2b45fe1f8b8323fe429f99 + sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878" url: "https://pub.dev" source: hosted - version: "2.0.2" + version: "2.1.0" file: dependency: transitive description: @@ -283,10 +283,10 @@ packages: dependency: "direct main" description: name: flutter_bloc - sha256: "434951eea948dbe87f737b674281465f610b8259c16c097b8163ce138749a775" + sha256: e74efb89ee6945bcbce74a5b3a5a3376b088e5f21f55c263fc38cbdc6237faae url: "https://pub.dev" source: hosted - version: "8.1.2" + version: "8.1.3" flutter_blurhash: dependency: transitive description: @@ -299,10 +299,10 @@ packages: dependency: "direct main" description: name: flutter_cache_manager - sha256: "32cd900555219333326a2d0653aaaf8671264c29befa65bbd9856d204a4c9fb3" + sha256: "8207f27539deb83732fdda03e259349046a39a4c767269285f449ade355d54ba" url: "https://pub.dev" source: hosted - version: "3.3.0" + version: "3.3.1" flutter_driver: dependency: "direct dev" description: flutter @@ -312,10 +312,10 @@ packages: dependency: "direct main" description: name: flutter_email_sender - sha256: "9e253c69617f43d4cb5de672e93a7a19c12a21fb6a75e66c6ce7626336c4c1bc" + sha256: "52b713a67a966be4d9e6f68a323fc0a5bc2da71c567eb451af1aa90d30adbc3a" url: "https://pub.dev" source: hosted - version: "5.2.0" + version: "6.0.1" flutter_fadein: dependency: "direct main" description: @@ -344,10 +344,10 @@ packages: dependency: "direct main" description: name: flutter_local_notifications - sha256: "20c92629902b125cb624efdbacbbe98806b3c0b01adb3d84d1c72198b3eafb1a" + sha256: "3cc40fe8c50ab8383f3e053a499f00f975636622ecdc8e20a77418ece3b1e975" url: "https://pub.dev" source: hosted - version: "14.0.1" + version: "15.1.0+1" flutter_local_notifications_linux: dependency: transitive description: @@ -442,10 +442,10 @@ packages: dependency: "direct main" description: name: font_awesome_flutter - sha256: "959ef4add147753f990b4a7c6cccb746d5792dbdc81b1cde99e62e7edb31b206" + sha256: "5fb789145cae1f4c3245c58b3f8fb287d055c26323879eab57a7bf0cfd1e45f3" url: "https://pub.dev" source: hosted - version: "10.4.0" + version: "10.5.0" frontend_server_client: dependency: transitive description: @@ -479,10 +479,10 @@ packages: dependency: transitive description: name: glob - sha256: "4515b5b6ddb505ebdd242a5f2cc5d22d3d6a80013789debfbda7777f47ea308c" + sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63" url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" hive: dependency: "direct main" description: @@ -495,10 +495,10 @@ packages: dependency: "direct main" description: name: html - sha256: "58e3491f7bf0b6a4ea5110c0c688877460d1a6366731155c4a4580e7ded773e8" + sha256: "3a7812d5bcd2894edf53dfaf8cd640876cf6cef50a8f238745c8b8120ea74d3a" url: "https://pub.dev" source: hosted - version: "0.15.3" + version: "0.15.4" html_unescape: dependency: "direct main" description: @@ -511,10 +511,10 @@ packages: dependency: "direct main" description: name: http - sha256: "5895291c13fa8a3bd82e76d5627f69e0d85ca6a30dcac95c4ea19a5d555879c2" + sha256: "759d1a329847dd0f39226c688d3e06a6b8679668e350e2891a6474f8b4bb8525" url: "https://pub.dev" source: hosted - version: "0.13.6" + version: "1.1.0" http_multi_server: dependency: transitive description: @@ -535,10 +535,10 @@ packages: dependency: "direct main" description: name: hydrated_bloc - sha256: eb92d88061b6b911c48779b08a91c8a9f3a3aa8475f80d9380045375d9876536 + sha256: "24994e61f64904d911683cce1a31dc4ef611619da5253f1de2b7b8fc6f79a118" url: "https://pub.dev" source: hosted - version: "9.1.0" + version: "9.1.2" in_app_review: dependency: "direct main" description: @@ -595,34 +595,34 @@ packages: dependency: "direct main" description: name: logger - sha256: db2ff852ed77090ba9f62d3611e4208a3d11dfa35991a81ae724c113fcb3e3f7 + sha256: "66cb048220ca51cf9011da69fa581e4ee2bed4be6e82870d9e9baae75739da49" url: "https://pub.dev" source: hosted - version: "1.3.0" + version: "2.0.1" logging: dependency: transitive description: name: logging - sha256: "04094f2eb032cbb06c6f6e8d3607edcfcb0455e2bb6cbc010cb01171dcb64e6d" + sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "1.2.0" matcher: dependency: transitive description: name: matcher - sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb" + sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" url: "https://pub.dev" source: hosted - version: "0.12.15" + version: "0.12.16" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 + sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.5.0" memoize: dependency: "direct main" description: @@ -651,10 +651,10 @@ packages: dependency: "direct dev" description: name: mocktail - sha256: "80a996cd9a69284b3dc521ce185ffe9150cde69767c2d3a0720147d93c0cef53" + sha256: "9503969a7c2c78c7292022c70c0289ed6241df7a9ba720010c0b215af29a5a58" url: "https://pub.dev" source: hosted - version: "0.3.0" + version: "1.0.0" nested: dependency: transitive description: @@ -699,10 +699,10 @@ packages: dependency: "direct main" description: name: package_info_plus - sha256: d39e8fbff4c5aef4592737e25ad6ac500df006ce7a7a8e1f838ce1256e167542 + sha256: "6ff267fcd9d48cb61c8df74a82680e8b82e940231bb5f68356672fde0397334a" url: "https://pub.dev" source: hosted - version: "4.0.0" + version: "4.1.0" package_info_plus_platform_interface: dependency: transitive description: @@ -723,58 +723,50 @@ packages: dependency: "direct main" description: name: path_provider - sha256: "3087813781ab814e4157b172f1a11c46be20179fcc9bea043e0fba36bc0acaa2" + sha256: "909b84830485dbcd0308edf6f7368bc8fd76afa26a270420f34cabea2a6467a0" url: "https://pub.dev" source: hosted - version: "2.0.15" + version: "2.1.0" path_provider_android: dependency: "direct main" description: name: path_provider_android - sha256: "2cec049d282c7f13c594b4a73976b0b4f2d7a1838a6dd5aaf7bd9719196bee86" + sha256: "5d44fc3314d969b84816b569070d7ace0f1dea04bd94a83f74c4829615d22ad8" url: "https://pub.dev" source: hosted - version: "2.0.27" + version: "2.1.0" path_provider_foundation: dependency: "direct main" description: name: path_provider_foundation - sha256: "1995d88ec2948dac43edf8fe58eb434d35d22a2940ecee1a9fefcd62beee6eb3" + sha256: "1b744d3d774e5a879bb76d6cd1ecee2ba2c6960c03b1020cd35212f6aa267ac5" url: "https://pub.dev" source: hosted - version: "2.2.3" + version: "2.3.0" path_provider_linux: dependency: transitive description: name: path_provider_linux - sha256: "2ae08f2216225427e64ad224a24354221c2c7907e448e6e0e8b57b1eb9f10ad1" + sha256: ba2b77f0c52a33db09fc8caf85b12df691bf28d983e84cf87ff6d693cfa007b3 url: "https://pub.dev" source: hosted - version: "2.1.10" + version: "2.2.0" path_provider_platform_interface: dependency: transitive description: name: path_provider_platform_interface - sha256: "57585299a729335f1298b43245842678cb9f43a6310351b18fb577d6e33165ec" + sha256: bced5679c7df11190e1ddc35f3222c858f328fff85c3942e46e7f5589bf9eb84 url: "https://pub.dev" source: hosted - version: "2.0.6" + version: "2.1.0" path_provider_windows: dependency: transitive description: name: path_provider_windows - sha256: d3f80b32e83ec208ac95253e0cd4d298e104fbc63cb29c5c69edaed43b0c69d6 + sha256: ee0e0d164516b90ae1f970bdf29f726f1aa730d7cfc449ecc74c495378b705da url: "https://pub.dev" source: hosted - version: "2.1.6" - pedantic: - dependency: transitive - description: - name: pedantic - sha256: "67fc27ed9639506c856c840ccce7594d0bdcd91bc8d53d6e52359449a1d50602" - url: "https://pub.dev" - source: hosted - version: "1.11.1" + version: "2.2.0" petitparser: dependency: transitive description: @@ -795,10 +787,10 @@ packages: dependency: transitive description: name: plugin_platform_interface - sha256: "6a2128648c854906c53fa8e33986fc0247a1116122f9534dd20e3ab9e16a32bc" + sha256: "43798d895c929056255600343db8f049921cbec94d31ec87f1dc5c16c01935dd" url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.1.5" pool: dependency: transitive description: @@ -900,82 +892,82 @@ packages: dependency: "direct main" description: name: sembast - sha256: a784dbcf313ff38a7f57249694c64a6bcf79f704dbec127958459a7737716830 + sha256: "85ff944434f7b566fdc388be4f85b23e954736b7d6e51f965f4f419d966c15b1" url: "https://pub.dev" source: hosted - version: "3.4.4" + version: "3.5.0+1" share_plus: dependency: "direct main" description: name: share_plus - sha256: "322a1ec9d9fe07e2e2252c098ce93d12dbd06133cc4c00ffe6a4ef505c295c17" + sha256: "6cec740fa0943a826951223e76218df002804adb588235a8910dc3d6b0654e11" url: "https://pub.dev" source: hosted - version: "7.0.0" + version: "7.1.0" share_plus_platform_interface: dependency: transitive description: name: share_plus_platform_interface - sha256: "0c6e61471bd71b04a138b8b588fa388e66d8b005e6f2deda63371c5c505a0981" + sha256: "357412af4178d8e11d14f41723f80f12caea54cf0d5cd29af9dcdab85d58aea7" url: "https://pub.dev" source: hosted - version: "3.2.1" + version: "3.3.0" shared_preferences: dependency: "direct main" description: name: shared_preferences - sha256: "16d3fb6b3692ad244a695c0183fca18cf81fd4b821664394a781de42386bf022" + sha256: "0344316c947ffeb3a529eac929e1978fcd37c26be4e8468628bac399365a3ca1" url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.2.0" shared_preferences_android: dependency: "direct main" description: name: shared_preferences_android - sha256: "6478c6bbbecfe9aced34c483171e90d7c078f5883558b30ec3163cf18402c749" + sha256: fe8401ec5b6dcd739a0fe9588802069e608c3fdbfd3c3c93e546cf2f90438076 url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.2.0" shared_preferences_foundation: dependency: "direct main" description: name: shared_preferences_foundation - sha256: e014107bb79d6d3297196f4f2d0db54b5d1f85b8ea8ff63b8e8b391a02700feb + sha256: d29753996d8eb8f7619a1f13df6ce65e34bc107bef6330739ed76f18b22310ef url: "https://pub.dev" source: hosted - version: "2.2.2" + version: "2.3.3" shared_preferences_linux: dependency: transitive description: name: shared_preferences_linux - sha256: "9d387433ca65717bbf1be88f4d5bb18f10508917a8fa2fb02e0fd0d7479a9afa" + sha256: "71d6806d1449b0a9d4e85e0c7a917771e672a3d5dc61149cc9fac871115018e1" url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.3.0" shared_preferences_platform_interface: dependency: transitive description: name: shared_preferences_platform_interface - sha256: fb5cf25c0235df2d0640ac1b1174f6466bd311f621574997ac59018a6664548d + sha256: "23b052f17a25b90ff2b61aad4cc962154da76fb62848a9ce088efe30d7c50ab1" url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.3.0" shared_preferences_web: dependency: transitive description: name: shared_preferences_web - sha256: "74083203a8eae241e0de4a0d597dbedab3b8fef5563f33cf3c12d7e93c655ca5" + sha256: "7347b194fb0bbeb4058e6a4e87ee70350b6b2b90f8ac5f8bd5b3a01548f6d33a" url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.2.0" shared_preferences_windows: dependency: transitive description: name: shared_preferences_windows - sha256: "5e588e2efef56916a3b229c3bfe81e6a525665a454519ca51dbcc4236a274173" + sha256: f95e6a43162bce43c9c3405f3eb6f39e5b5d11f65fab19196cf8225e2777624d url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.3.0" shelf: dependency: transitive description: @@ -1012,10 +1004,10 @@ packages: dependency: "direct main" description: name: shimmer - sha256: "1f1009b5845a1f88f1c5630212279540486f97409e9fc3f63883e71070d107bf" + sha256: "5f88c883a22e9f9f299e5ba0e4f7e6054857224976a5d9f839d4ebdc94a14ac9" url: "https://pub.dev" source: hosted - version: "2.0.0" + version: "3.0.0" sky_engine: dependency: transitive description: flutter @@ -1041,26 +1033,26 @@ packages: dependency: transitive description: name: source_span - sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250 + sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.10.0" sqflite: dependency: transitive description: name: sqflite - sha256: b4d6710e1200e96845747e37338ea8a819a12b51689a3bcf31eff0003b37a0b9 + sha256: "591f1602816e9c31377d5f008c2d9ef7b8aca8941c3f89cc5fd9d84da0c38a9a" url: "https://pub.dev" source: hosted - version: "2.2.8+4" + version: "2.3.0" sqflite_common: dependency: transitive description: name: sqflite_common - sha256: e77abf6ff961d69dfef41daccbb66b51e9983cdd5cb35bf30733598057401555 + sha256: "1b92f368f44b0dee2425bb861cfa17b6f6cf3961f762ff6f941d20b33355660a" url: "https://pub.dev" source: hosted - version: "2.4.5" + version: "2.5.0" stack_trace: dependency: transitive description: @@ -1120,26 +1112,26 @@ packages: dependency: transitive description: name: test - sha256: "3dac9aecf2c3991d09b9cdde4f98ded7b30804a88a0d7e4e7e1678e78d6b97f4" + sha256: "13b41f318e2a5751c3169137103b60c584297353d4b1761b66029bae6411fe46" url: "https://pub.dev" source: hosted - version: "1.24.1" + version: "1.24.3" test_api: dependency: transitive description: name: test_api - sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb + sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" url: "https://pub.dev" source: hosted - version: "0.5.1" + version: "0.6.0" test_core: dependency: transitive description: name: test_core - sha256: "5138dbffb77b2289ecb12b81c11ba46036590b72a64a7a90d6ffb880f1a29e93" + sha256: "99806e9e6d95c7b059b7a0fc08f07fc53fabe54a829497f0d9676299f1e8637e" url: "https://pub.dev" source: hosted - version: "0.5.1" + version: "0.5.3" timezone: dependency: transitive description: @@ -1168,18 +1160,18 @@ packages: dependency: "direct main" description: name: url_launcher - sha256: eb1e00ab44303d50dd487aab67ebc575456c146c6af44422f9c13889984c00f3 + sha256: "781bd58a1eb16069412365c98597726cd8810ae27435f04b3b4d3a470bacd61e" url: "https://pub.dev" source: hosted - version: "6.1.11" + version: "6.1.12" url_launcher_android: dependency: transitive description: name: url_launcher_android - sha256: "1a5848f598acc5b7d8f7c18b8cb834ab667e59a13edc3c93e9d09cf38cc6bc87" + sha256: "3dd2388cc0c42912eee04434531a26a82512b9cb1827e0214430c9bcbddfe025" url: "https://pub.dev" source: hosted - version: "6.0.34" + version: "6.0.38" url_launcher_ios: dependency: transitive description: @@ -1200,34 +1192,34 @@ packages: dependency: transitive description: name: url_launcher_macos - sha256: "91ee3e75ea9dadf38036200c5d3743518f4a5eb77a8d13fda1ee5764373f185e" + sha256: "1c4fdc0bfea61a70792ce97157e5cc17260f61abbe4f39354513f39ec6fd73b1" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.6" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface - sha256: "6c9ca697a5ae218ce56cece69d46128169a58aa8653c1b01d26fcd4aad8c4370" + sha256: bfdfa402f1f3298637d71ca8ecfe840b4696698213d5346e9d12d4ab647ee2ea url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.3" url_launcher_web: dependency: transitive description: name: url_launcher_web - sha256: "81fe91b6c4f84f222d186a9d23c73157dc4c8e1c71489c4d08be1ad3b228f1aa" + sha256: cc26720eefe98c1b71d85f9dc7ef0cada5132617046369d9dc296b3ecaa5cbb4 url: "https://pub.dev" source: hosted - version: "2.0.16" + version: "2.0.18" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - sha256: "254708f17f7c20a9c8c471f67d86d76d4a3f9c1591aad1e15292008aceb82771" + sha256: "7967065dd2b5fccc18c653b97958fdf839c5478c28e767c61ee879f4e7882422" url: "https://pub.dev" source: hosted - version: "3.0.6" + version: "3.0.7" uuid: dependency: transitive description: @@ -1248,18 +1240,18 @@ packages: dependency: "direct dev" description: name: very_good_analysis - sha256: "5f77d7c00d6010d8ad93ac5d91ecc851c216bcc1e7a51e56c3c01b27152453bb" + sha256: "5e4ea72d2a9188630f0dd8f120a541de730090ef8863243fedca8267a84508b8" url: "https://pub.dev" source: hosted - version: "5.0.0" + version: "5.0.0+1" vm_service: dependency: transitive description: name: vm_service - sha256: f6deed8ed625c52864792459709183da231ebf66ff0cf09e69b573227c377efe + sha256: c620a6f783fa22436da68e42db7ebbf18b8c44b9a46ab911f666ff09ffd9153f url: "https://pub.dev" source: hosted - version: "11.3.0" + version: "11.7.1" wakelock: dependency: "direct main" description: @@ -1308,6 +1300,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.0" + web: + dependency: transitive + description: + name: web + sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + url: "https://pub.dev" + source: hosted + version: "0.1.4-beta" web_socket_channel: dependency: transitive description: @@ -1336,42 +1336,42 @@ packages: dependency: "direct main" description: name: webview_flutter - sha256: "1a37bdbaaf5fbe09ad8579ab09ecfd473284ce482f900b5aea27cf834386a567" + sha256: "789d52bd789373cc1e100fb634af2127e86c99cf9abde09499743270c5de8d00" url: "https://pub.dev" source: hosted - version: "4.2.0" + version: "4.2.2" webview_flutter_android: dependency: transitive description: name: webview_flutter_android - sha256: "1acea8def62592123e2fbbca164ed8681a98a890bdcbb88f916d5b4a22687759" + sha256: bca797abba472868655b5f1a6029c1132385685ee9db4713cb0e7f33076210c6 url: "https://pub.dev" source: hosted - version: "3.7.0" + version: "3.9.3" webview_flutter_platform_interface: dependency: transitive description: name: webview_flutter_platform_interface - sha256: "78715dc442b7849dbde74e92bb67de1cecf5addf95531c5fb474e72f5fe9a507" + sha256: "0ca3cfcc6781a7de701d580917af4a9efc4e3e129f8ead95a80587f0a749480a" url: "https://pub.dev" source: hosted - version: "2.3.0" + version: "2.5.0" webview_flutter_wkwebview: dependency: transitive description: name: webview_flutter_wkwebview - sha256: "4646bb68297803bdbb96d46853e8fcb560d6cb5e04153fa64581535767875dfe" + sha256: ed749f94ac9e814d04a258a9255cf69cfa4cc6006ff59542aea7fb4590144972 url: "https://pub.dev" source: hosted - version: "3.4.3" + version: "3.7.3" win32: dependency: "direct overridden" description: name: win32 - sha256: "6ca3aaab1790eeb1f5cad232e33d9c53ba66e884dd3e7686c4e730bffc45f1a3" + sha256: f2add6fa510d3ae152903412227bda57d0d5a8da61d2c39c1fb022c9429a41c0 url: "https://pub.dev" source: hosted - version: "5.0.2" + version: "5.0.6" win32_registry: dependency: transitive description: @@ -1392,10 +1392,10 @@ packages: dependency: transitive description: name: xdg_directories - sha256: bd512f03919aac5f1313eb8249f223bacf4927031bf60b02601f81f687689e86 + sha256: f0c26453a2d47aa4c2570c6a033246a3fc62da2fe23c7ffdd0a7495086dc0247 url: "https://pub.dev" source: hosted - version: "0.2.0+3" + version: "1.0.2" xml: dependency: transitive description: @@ -1413,5 +1413,5 @@ packages: source: hosted version: "3.1.2" sdks: - dart: ">=3.0.0 <4.0.0" - flutter: ">=3.10.6" + dart: ">=3.1.0-185.0.dev <4.0.0" + flutter: ">=3.13.0" diff --git a/pubspec.yaml b/pubspec.yaml index bc870cc..5d0a917 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,11 +1,11 @@ name: hacki description: A Hacker News reader. -version: 1.8.2+118 +version: 1.8.3+119 publish_to: none environment: sdk: ">=3.0.0 <4.0.0" - flutter: "3.10.6" + flutter: "3.13.0" dependencies: adaptive_theme: ^3.2.0 @@ -27,11 +27,11 @@ dependencies: sdk: flutter flutter_bloc: ^8.1.2 flutter_cache_manager: ^3.3.0 - flutter_email_sender: ^5.2.0 + flutter_email_sender: ^6.0.1 flutter_fadein: ^2.0.0 flutter_feather_icons: 2.0.0+1 flutter_inappwebview: ^5.7.2+3 - flutter_local_notifications: ^14.0.1 + flutter_local_notifications: ^15.1.0+1 flutter_secure_storage: ^8.0.0 flutter_siri_suggestions: ^2.1.0 flutter_slidable: ^3.0.0 @@ -41,13 +41,13 @@ dependencies: hive: ^2.2.3 html: ^0.15.1 html_unescape: ^2.0.0 - http: ^0.13.5 + http: ^1.1.0 hydrated_bloc: ^9.1.0 in_app_review: path: components/in_app_review intl: ^0.18.0 linkify: ^5.0.0 - logger: ^1.3.0 + logger: ^2.0.1 memoize: ^3.0.0 package_info_plus: ^4.0.0 path: ^1.8.2 @@ -69,7 +69,7 @@ dependencies: shared_preferences: ^2.0.17 shared_preferences_android: ^2.0.15 shared_preferences_foundation: ^2.1.3 - shimmer: ^2.0.0 + shimmer: ^3.0.0 synced_shared_preferences: path: components/synced_shared_preferences universal_platform: ^1.0.0+1 @@ -89,7 +89,7 @@ dev_dependencies: sdk: flutter integration_test: sdk: flutter - mocktail: ^0.3.0 + mocktail: ^1.0.0 very_good_analysis: ^5.0.0 flutter: diff --git a/submodules/flutter b/submodules/flutter index f468f33..efbf63d 160000 --- a/submodules/flutter +++ b/submodules/flutter @@ -1 +1 @@ -Subproject commit f468f3366c26a5092eb964a230ce7892fda8f2f8 +Subproject commit efbf63d9c66b9f6ec30e9ad4611189aa80003d31