Skip to content

Commit

Permalink
Merge pull request #63 from SiroDaves/feature
Browse files Browse the repository at this point in the history
App Version
  • Loading branch information
SiroDaves authored Jan 22, 2025
2 parents c0d834a + 4ac47bc commit c4eb1d4
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 17 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,18 @@ Follow this guide to set up and run SongLib:
```bash
flutter build appbundle --flavor production -t lib/main_prod.dart --no-tree-shake-icons
```

2. **iOS:**

- **Production (For Play Store):**

```bash
flutter build ipa -t lib/main_prod.dart --no-tree-shake-icons
```
To upload to the App Store either:
- Drag and drop the "build/ios/ipa/*.ipa" bundle into the Apple Transporter macOS app https://apps.apple.com/us/app/transporter/id1450874784
- Run "xcrun altool --upload-app --type ios -f build/ios/ipa/*.ipa --apiKey your_api_key --apiIssuer your_issuer_id".
See "man altool" for details about how to authenticate with the App Store Connect API key.

2. **Windows:**

Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ android {
targetSdkVersion 34
compileSdkVersion 34
multiDexEnabled true
versionCode 790
versionName "1.0.7.9"
versionCode 791
versionName "1.0.7.91"
}

signingConfigs {
Expand Down
24 changes: 21 additions & 3 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,8 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1.0.7.81;
CURRENT_PROJECT_VERSION = 1.0.7.52;
DEVELOPMENT_TEAM = Q7CNPE587D;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = SongLib;
Expand All @@ -501,10 +502,15 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 750;
PRODUCT_BUNDLE_IDENTIFIER = com.songlib;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
};
name = Profile;
Expand Down Expand Up @@ -677,7 +683,8 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1.0.7.81;
CURRENT_PROJECT_VERSION = 1.0.7.52;
DEVELOPMENT_TEAM = Q7CNPE587D;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = SongLib;
Expand All @@ -687,11 +694,16 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 750;
PRODUCT_BUNDLE_IDENTIFIER = com.songlib;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
};
name = Debug;
Expand All @@ -703,7 +715,8 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1.0.7.81;
CURRENT_PROJECT_VERSION = 1.0.7.52;
DEVELOPMENT_TEAM = Q7CNPE587D;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = SongLib;
Expand All @@ -713,10 +726,15 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 750;
PRODUCT_BUNDLE_IDENTIFIER = com.songlib;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
};
name = Release;
Expand Down
5 changes: 0 additions & 5 deletions ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@
<true/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UIBackgroundModes</key>
<array>
<string>processing</string>
<string>fetch</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
Expand Down
6 changes: 4 additions & 2 deletions lib/features/home/common/ui/home_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,10 @@ class HomeScreenState extends State<HomeScreen> {
IconButton(
icon: Platform.isIOS
? Icon(CupertinoIcons.settings)
: Icon(Icons.search),
onPressed: () {},
: Icon(Icons.settings),
onPressed: () {
Navigator.pushNamed(context, RouteNames.settings);
},
),
],
),
Expand Down
5 changes: 3 additions & 2 deletions lib/features/selection/step1/ui/step1_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ class Step1ScreenState extends State<Step1Screen> {
icon: Platform.isIOS
? Icon(CupertinoIcons.settings)
: Icon(Icons.settings),
onPressed: () =>
Navigator.pushNamed(context, RouteNames.settings),
onPressed: () {
Navigator.pushNamed(context, RouteNames.settings);
},
)
],
),
Expand Down
6 changes: 3 additions & 3 deletions macos/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = "";
DEVELOPMENT_TEAM = Q7CNPE587D;
INFOPLIST_FILE = Runner/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = SongLib;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.books";
Expand Down Expand Up @@ -712,7 +712,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = "";
DEVELOPMENT_TEAM = Q7CNPE587D;
INFOPLIST_FILE = Runner/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = SongLib;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.books";
Expand All @@ -738,7 +738,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = "";
DEVELOPMENT_TEAM = Q7CNPE587D;
INFOPLIST_FILE = Runner/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = SongLib;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.books";
Expand Down

0 comments on commit c4eb1d4

Please sign in to comment.