From 7de751b80167d5f79e2937b3e537d8fbcfe62630 Mon Sep 17 00:00:00 2001 From: NIK Date: Tue, 2 Jul 2024 22:52:19 +0800 Subject: [PATCH 1/3] Update Podfile.lock --- ios/Podfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index a9923eff..9cf838f1 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1064,7 +1064,7 @@ SPEC CHECKSUMS: FirebaseMessaging: bb2c4f6422a753038fe137d90ae7c1af57251316 FirebaseRemoteConfig: bc7f260e6596956fafbb532443c19bd3c30f5258 FirebaseSessions: 96e7781e545929cde06dd91088ddbb0841391b43 - Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 + Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 flutter_secure_storage: 23fc622d89d073675f2eaa109381aefbcf5a49be GoogleAppMeasurement: 2d800fab85e7848b1e66a6f8ce5bca06c5aad892 GoogleDataTransport: 54dee9d48d14580407f8f5fbf2f496e92437a2f2 @@ -1096,4 +1096,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: b347bf786bcbbd0a76929a5f65d30a5cde8fd52f -COCOAPODS: 1.12.1 +COCOAPODS: 1.15.2 From be84a08584161eac8ff53adc6d9d7c6cb7ccbc92 Mon Sep 17 00:00:00 2001 From: NIK Date: Wed, 3 Jul 2024 12:16:46 +0800 Subject: [PATCH 2/3] launching external in Android - works better --- lib/ui/onboarding/onboarding_page.dart | 6 +++++- .../token/token_details/components/token_details_view.dart | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/ui/onboarding/onboarding_page.dart b/lib/ui/onboarding/onboarding_page.dart index 4aa3be4f..c8038317 100644 --- a/lib/ui/onboarding/onboarding_page.dart +++ b/lib/ui/onboarding/onboarding_page.dart @@ -1,3 +1,5 @@ +import 'dart:io' show Platform; + import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:get/get.dart'; @@ -21,7 +23,9 @@ class OnboardingPage extends StatelessWidget { final _url = GetIt.I.get().signUpLinkUrl; if (!await launchUrl( Uri.parse(_url), - mode: LaunchMode.inAppWebView, + // We launch in app web view in iOS because App review requires it. + // We launch external browser in Android because it works much better. + mode: Platform.isIOS ? LaunchMode.inAppWebView : LaunchMode.externalApplication, )) { ScaffoldMessenger.of(context).showSnackBar(const SnackBar( content: Text('Error Launching URL. Please visit dao.hypha.earth'), diff --git a/lib/ui/token/token_details/components/token_details_view.dart b/lib/ui/token/token_details/components/token_details_view.dart index 27077cde..eeded371 100644 --- a/lib/ui/token/token_details/components/token_details_view.dart +++ b/lib/ui/token/token_details/components/token_details_view.dart @@ -11,7 +11,6 @@ import 'package:hypha_wallet/design/progress_indicator/hypha_progress_indicator. import 'package:hypha_wallet/design/themes/extensions/theme_extension_provider.dart'; import 'package:hypha_wallet/ui/search_user/search_user_page.dart'; import 'package:hypha_wallet/ui/token/token_details/interactor/token_details_bloc.dart'; -import 'package:hypha_wallet/ui/transfer_tokens/receive/receive_page.dart'; import 'package:hypha_wallet/ui/wallet/components/recent_transactions_view.dart'; import 'package:hypha_wallet/ui/wallet/data/wallet_token_data.dart'; From d566e707061a52f0639b57a8457306fea2366296 Mon Sep 17 00:00:00 2001 From: NIK Date: Wed, 3 Jul 2024 12:17:11 +0800 Subject: [PATCH 3/3] increased build number a few times Apple app store freaking out and not processing... --- pubspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index 41606b6d..253ec2e5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.2.2+60 +version: 1.2.2+62 environment: sdk: '>=3.0.0 <4.0.0' @@ -38,7 +38,7 @@ dependencies: cupertino_icons: ^1.0.2 # UI and Navigation - get: ^4.6.6 + get: ^4.6.5 # State Management flutter_bloc: ^8.1.3