From df29de26906b620f1ac2ee8984c77cc98d4553de Mon Sep 17 00:00:00 2001 From: NIK Date: Wed, 1 May 2024 11:00:53 +0800 Subject: [PATCH 1/3] typo --- lib/datasource/remote/api/eos_repo/eos_repository.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/datasource/remote/api/eos_repo/eos_repository.dart b/lib/datasource/remote/api/eos_repo/eos_repository.dart index 13ed76617..18a296450 100644 --- a/lib/datasource/remote/api/eos_repo/eos_repository.dart +++ b/lib/datasource/remote/api/eos_repo/eos_repository.dart @@ -10,7 +10,7 @@ abstract class EosRepository { late final String cpuPrivateKey = dotenv.env['PAYCPU_SEEDS_KEY'] ?? ''; late final String onboardingPrivateKey = dotenv.env['ONBOARDING_SEEDS_KEY'] ?? ''; -; + String onboardingAccountName = 'join.seeds'; int guardianRecoveryTimeDelaySec = const Duration(hours: 24).inSeconds; From fa44646de6f6fc73c59cbd33b0c4f11d39ced173 Mon Sep 17 00:00:00 2001 From: NIK Date: Wed, 1 May 2024 15:12:15 +0800 Subject: [PATCH 2/3] fix ios version to 14 fix app store submission --- ios/Flutter/AppFrameworkInfo.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Flutter/AppFrameworkInfo.plist b/ios/Flutter/AppFrameworkInfo.plist index d58a99862..3c6f16031 100644 --- a/ios/Flutter/AppFrameworkInfo.plist +++ b/ios/Flutter/AppFrameworkInfo.plist @@ -21,7 +21,7 @@ CFBundleVersion 1.0 MinimumOSVersion - 9.0 + 14.0 ITSAppUsesNonExemptEncryption From ce2ca60b5f7de0221d54147b6d4c4adabe39808f Mon Sep 17 00:00:00 2001 From: NIK Date: Thu, 2 May 2024 17:50:45 +0800 Subject: [PATCH 3/3] iOS upload script --- upload_ios_build.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 upload_ios_build.sh diff --git a/upload_ios_build.sh b/upload_ios_build.sh new file mode 100755 index 000000000..973e0dc35 --- /dev/null +++ b/upload_ios_build.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +## archive and upload the app to ios App store + +flutter build ipa --release +open -a "Transporter" "build/ios/ipa/SEEDS Wallet.ipa" + +# depends on xcpretty +# If you don't have "xcpretty" installed either install it with 'gem install xcpretty' or remove +# the pipeline + +# Build the app with Flutter +# flutter build ios --release + +# Archive the .app to .xcarchive +# xcodebuild archive -workspace ios/Runner.xcworkspace -scheme Runner -archivePath ios/archive/Runner.xcarchive -destination 'generic/platform=iOS' | xcpretty + +# Export the .xcarchive to .ipa +# xcodebuild -exportArchive -archivePath ios/archive/Runner.xcarchive -exportOptionsPlist appstore/ExportOptions.plist -exportPath ios/build | xcpretty + +# Upload to App Store using Transporter + +# xcrun altool --upload-app --type ios --file "ios/build/Runner.ipa" --username "YOUR_APPLE_ID_EMAIL" --password "YOUR_APP_SPECIFIC_PASSWORD" + +# Or just open the ipa file in transporter +# open -a "Transporter" /Users/elohim/play/hypha/hypha_wallet/ios/build/hypha_wallet.ipa \ No newline at end of file