Skip to content

Commit

Permalink
Merge pull request #240 from hypha-dao/feature/ios_builds
Browse files Browse the repository at this point in the history
Remove bounce up animation
  • Loading branch information
n13 authored Aug 24, 2023
2 parents f67c626 + c0d6daa commit 38d6fb9
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ app.*.map.json

# env variables and secrets
*.env

## ios build/distribution directory
ios/archive
ios/build
4 changes: 2 additions & 2 deletions lib/ui/splash/splash_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ class _SplashPageState extends State<SplashPage> with TickerProviderStateMixin {
if (Get.currentRoute != '/HyphaBottomNavigation') {
Get.offAll(
() => const HyphaBottomNavigation(),
transition: Transition.downToUp,
transition: Transition.fadeIn,
duration: const Duration(milliseconds: 500),
);
}
} else {
if (Get.currentRoute != '/OnboardingPage') {
Get.offAll(
() => const OnboardingPage(),
transition: Transition.downToUp,
transition: Transition.fadeIn,
duration: const Duration(milliseconds: 500),
);
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.7+38
version: 1.1.7+41

environment:
sdk: '>=3.0.0 <4.0.0'
Expand Down
26 changes: 26 additions & 0 deletions upload_ios_build.sh
Original file line number Diff line number Diff line change
@@ -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/hypha_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

0 comments on commit 38d6fb9

Please sign in to comment.