diff --git a/.github/workflows/ios-release-appcenter.yaml b/.github/workflows/ios-release-appcenter.yaml index de3bd554e..bb295cc7a 100644 --- a/.github/workflows/ios-release-appcenter.yaml +++ b/.github/workflows/ios-release-appcenter.yaml @@ -27,7 +27,7 @@ jobs: channel: stable - uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: "16.1" + xcode-version: "15.2" - name: Set env run: | diff --git a/.github/workflows/ios-release-testflight.yaml b/.github/workflows/ios-release-testflight.yaml index 176735906..ba0ab75ea 100644 --- a/.github/workflows/ios-release-testflight.yaml +++ b/.github/workflows/ios-release-testflight.yaml @@ -22,7 +22,7 @@ jobs: channel: stable - uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: "16.1" + xcode-version: "15.2" - name: Set env run: | diff --git a/.github/workflows/ios-release-testflight_local_bmvn.yaml b/.github/workflows/ios-release-testflight_local_bmvn.yaml index 509b06c1d..d251ba6e5 100644 --- a/.github/workflows/ios-release-testflight_local_bmvn.yaml +++ b/.github/workflows/ios-release-testflight_local_bmvn.yaml @@ -22,7 +22,7 @@ jobs: channel: stable - uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: "16.1" + xcode-version: "15.2" - name: Set env run: | @@ -80,8 +80,7 @@ jobs: flutter clean flutter pub get cd ios/ - rm Podfile.lock - pod install --repo-update + pod install # Encrypt secrets before use - name: Encrypt Secrets diff --git a/ios/Runner/BeaconConnectService.swift b/ios/Runner/BeaconConnectService.swift index 7e12ea7da..6843c2940 100644 --- a/ios/Runner/BeaconConnectService.swift +++ b/ios/Runner/BeaconConnectService.swift @@ -292,9 +292,9 @@ extension BeaconConnectService { .eraseToAnyPublisher() } - private func startOpenChannelListener(completion: @escaping (Result<(), Error>) -> Void) { + private func startOpenChannelListener(completion: @escaping (Result<(), Beacon.Error>) -> Void) { guard let beaconClient = beaconClient else { - completion(.failure(Beacon.Error.uninitialized)) + completion(.failure(.uninitialized)) return } diff --git a/lib/main.dart b/lib/main.dart index 54eaabaf3..c8acc3ea7 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -53,7 +53,7 @@ void main() async { ..enableAutoSessionTracking = true ..tracesSampleRate = 0.25 ..attachStacktrace = true - ..beforeSend = (SentryEvent event, Hint hint) { + ..beforeSend = (SentryEvent event, {dynamic hint}) { // Avoid sending events with "level": "debug" if (event.level == SentryLevel.debug) { // Return null to drop the event diff --git a/lib/util/asset_token_ext.dart b/lib/util/asset_token_ext.dart index 4b42bbc89..c8b0d9e7e 100644 --- a/lib/util/asset_token_ext.dart +++ b/lib/util/asset_token_ext.dart @@ -771,7 +771,7 @@ extension PostcardExtension on AssetToken { final shareMessage = 'postcard_share_message'.tr(namedArgs: { 'deeplink': sharePostcardResponse.deeplink!, }); - final result = await Share.share(shareMessage, + final result = await Share.shareWithResult(shareMessage, sharePositionOrigin: sharePositionOrigin); if (result.status == ShareResultStatus.success) { await Future.delayed(const Duration(milliseconds: 100)); diff --git a/pubspec.lock b/pubspec.lock index fe1146ccb..393be1ab5 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -397,10 +397,10 @@ packages: dependency: transitive description: name: cross_file - sha256: "7caf6a750a0c04effbb52a676dce9a4a592e10ad35c34d6d2d0e4811160d5670" + sha256: "2f9d2cbccb76127ba28528cb3ae2c2326a122446a83de5a056aaa3880d3882c5" url: "https://pub.dev" source: hosted - version: "0.3.4+2" + version: "0.3.3+7" crypto: dependency: "direct main" description: @@ -834,18 +834,18 @@ packages: dependency: "direct main" description: name: flutter_inappwebview - sha256: "80092d13d3e29b6227e25b67973c67c7210bd5e35c4b747ca908e31eb71a46d5" + sha256: "3e9a443a18ecef966fb930c3a76ca5ab6a7aafc0c7b5e14a4a850cf107b09959" url: "https://pub.dev" source: hosted - version: "6.1.5" + version: "6.0.0" flutter_inappwebview_android: dependency: transitive description: name: flutter_inappwebview_android - sha256: "62557c15a5c2db5d195cb3892aab74fcaec266d7b86d59a6f0027abd672cddba" + sha256: d247f6ed417f1f8c364612fa05a2ecba7f775c8d0c044c1d3b9ee33a6515c421 url: "https://pub.dev" source: hosted - version: "1.1.3" + version: "1.0.13" flutter_inappwebview_internal_annotations: dependency: transitive description: @@ -858,42 +858,34 @@ packages: dependency: transitive description: name: flutter_inappwebview_ios - sha256: "5818cf9b26cf0cbb0f62ff50772217d41ea8d3d9cc00279c45f8aabaa1b4025d" + sha256: f363577208b97b10b319cd0c428555cd8493e88b468019a8c5635a0e4312bd0f url: "https://pub.dev" source: hosted - version: "1.1.2" + version: "1.0.13" flutter_inappwebview_macos: dependency: transitive description: name: flutter_inappwebview_macos - sha256: c1fbb86af1a3738e3541364d7d1866315ffb0468a1a77e34198c9be571287da1 + sha256: b55b9e506c549ce88e26580351d2c71d54f4825901666bd6cfa4be9415bb2636 url: "https://pub.dev" source: hosted - version: "1.1.2" + version: "1.0.11" flutter_inappwebview_platform_interface: dependency: transitive description: name: flutter_inappwebview_platform_interface - sha256: cf5323e194096b6ede7a1ca808c3e0a078e4b33cc3f6338977d75b4024ba2500 + sha256: "545fd4c25a07d2775f7d5af05a979b2cac4fbf79393b0a7f5d33ba39ba4f6187" url: "https://pub.dev" source: hosted - version: "1.3.0+1" + version: "1.0.10" flutter_inappwebview_web: dependency: transitive description: name: flutter_inappwebview_web - sha256: "55f89c83b0a0d3b7893306b3bb545ba4770a4df018204917148ebb42dc14a598" - url: "https://pub.dev" - source: hosted - version: "1.1.2" - flutter_inappwebview_windows: - dependency: transitive - description: - name: flutter_inappwebview_windows - sha256: "8b4d3a46078a2cdc636c4a3d10d10f2a16882f6be607962dbfff8874d1642055" + sha256: d8c680abfb6fec71609a700199635d38a744df0febd5544c5a020bd73de8ee07 url: "https://pub.dev" source: hosted - version: "0.6.0" + version: "1.0.8" flutter_keyboard_visibility: dependency: "direct main" description: @@ -1957,18 +1949,18 @@ packages: dependency: "direct main" description: name: package_info_plus - sha256: "894f37107424311bdae3e476552229476777b8752c5a2a2369c0cb9a2d5442ef" + sha256: cb44f49b6e690fa766f023d5b22cac6b9affe741dd792b6ac7ad4fabe0d7b097 url: "https://pub.dev" source: hosted - version: "8.0.3" + version: "6.0.0" package_info_plus_platform_interface: dependency: transitive description: name: package_info_plus_platform_interface - sha256: ac1f4a4847f1ade8e6a87d1f39f5d7c67490738642e2542f559ec38c37489a66 + sha256: "9bc8ba46813a4cc42c66ab781470711781940780fd8beddd0c3da62506d3a6c6" url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "2.0.1" page_transition: dependency: "direct main" description: @@ -2317,34 +2309,34 @@ packages: dependency: "direct main" description: name: sentry - sha256: "033287044a6644a93498969449d57c37907e56f5cedb17b88a3ff20a882261dd" + sha256: "57514bc72d441ffdc463f498d6886aa586a2494fa467a1eb9d649c28010d7ee3" url: "https://pub.dev" source: hosted - version: "8.9.0" + version: "7.20.2" sentry_dart_plugin: dependency: "direct dev" description: name: sentry_dart_plugin - sha256: "699990cfee67174bcdf3bc2de7af9b75045f0e523fed1317c9e077a287aaeec4" + sha256: e81fa3e0ffabd04fdcfbfecd6468d4a342f02ab33edca09708c61bcd2be42b7d url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "1.7.1" sentry_dio: dependency: "direct main" description: name: sentry_dio - sha256: "154f32c2381cb53c2687601b0e6a54eeda452b5d1d414b1c9e1c0ea817e65ced" + sha256: aa7b9cebe479f143a0e302127d73d4086ef11ccfe21f0f4aa75e1139839402b9 url: "https://pub.dev" source: hosted - version: "8.9.0" + version: "7.20.2" sentry_flutter: dependency: "direct main" description: name: sentry_flutter - sha256: "3780b5a0bb6afd476857cfbc6c7444d969c29a4d9bd1aa5b6960aa76c65b737a" + sha256: "9723d58470ca43a360681ddd26abb71ca7b815f706bc8d3747afd054cf639ded" url: "https://pub.dev" source: hosted - version: "8.9.0" + version: "7.20.2" shake: dependency: "direct main" description: @@ -2357,18 +2349,18 @@ packages: dependency: "direct main" description: name: share_plus - sha256: fec12c3c39f01e4df1ec6ad92b6e85503c5ca64ffd6e28d18c9ffe53fcc4cb11 + sha256: fb5319f3aab4c5dda5ebb92dca978179ba21f8c783ee4380910ef4c1c6824f51 url: "https://pub.dev" source: hosted - version: "10.0.3" + version: "8.0.3" share_plus_platform_interface: dependency: transitive description: name: share_plus_platform_interface - sha256: c57c0bbfec7142e3a0f55633be504b796af72e60e3c791b44d5a017b985f7a48 + sha256: "251eb156a8b5fa9ce033747d73535bf53911071f8d3b6f4f0b578505ce0d4496" url: "https://pub.dev" source: hosted - version: "5.0.1" + version: "3.4.0" shared_preferences: dependency: "direct main" description: @@ -2979,10 +2971,10 @@ packages: dependency: transitive description: name: web - sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb + sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27" url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "0.5.1" web3dart: dependency: "direct main" description: @@ -2995,10 +2987,10 @@ packages: dependency: "direct main" description: name: web_socket_channel - sha256: d88238e5eac9a42bb43ca4e721edba3c08c6354d4a53063afaa568516217621b + sha256: "58c6666b342a38816b2e7e50ed0f1e261959630becd4c879c4f26bfa14aa5a42" url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "2.4.5" webdriver: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 5859a41fd..d26371970 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -78,7 +78,7 @@ dependencies: onesignal_flutter: ^3.3.0 open_settings: ^2.0.2 overlay_support: ^2.0.0 - package_info_plus: ^8.0.3 + package_info_plus: page_transition: ^2.0.5 path_provider: ^2.1.1 permission_handler: ^10.0.0 @@ -86,10 +86,10 @@ dependencies: qr_flutter: ^4.0.0 retrofit: null roundcheckbox: ^2.0.4+1 - sentry_dio: ^8.9.0 - sentry_flutter: ^8.9.0 + sentry_dio: ^7.9.0 + sentry_flutter: ^7.9.0 shake: ^2.0.0 - share_plus: ^10.0.3 + share_plus: ^8.0.2 shared_preferences: ^2.0.0 synchronized: ^3.0.0+2 social_share: ^2.3.1 @@ -131,7 +131,7 @@ dependencies: flutter_widget_from_html: ^0.10.3 readmore: ^2.2.0 elliptic: ^0.3.8 - sentry: ^8.9.0 + sentry: ^7.9.0 path: ^1.9.0 in_app_purchase_storekit: ^0.3.14 in_app_purchase_android: ^0.3.4 @@ -142,7 +142,7 @@ dependencies: image: ^4.2.0 widgets_to_image: ^0.0.2 geocoding: ^2.1.0 - flutter_inappwebview: ^6.1.5 + flutter_inappwebview: ^6.0.0 webview_flutter: ^4.9.0 html: ^0.15.1 video_player: ^2.9.2 @@ -171,7 +171,7 @@ dependencies: dependency_overrides: intl: 0.18.0 archive: ^3.6.1 - package_info_plus: ^8.0.3 + package_info_plus: ^6.0.0 frontend_server_client: ^4.0.0 webview_flutter_android: 3.16.1 @@ -192,7 +192,7 @@ dev_dependencies: dependency_validator: null dotenv: ^4.0.1 html_unescape: ^2.0.0 - sentry_dart_plugin: ^2.1.0 + sentry_dart_plugin: ^1.0.0 # For information on the generic Dart part of this file, see the