diff --git a/CHANGELOG.md b/CHANGELOG.md index a862bdd2..491c99cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ Changelog for Critical Maps iOS ### Added - Info view with next update countdown and riders count view +- Replace Twitter with a Mastodon feed to show toots with a tag of "CriticlMass" ### Updated diff --git a/CriticalMaps.xcodeproj/project.pbxproj b/CriticalMaps.xcodeproj/project.pbxproj index ab4d4168..55edfe80 100644 --- a/CriticalMaps.xcodeproj/project.pbxproj +++ b/CriticalMaps.xcodeproj/project.pbxproj @@ -783,17 +783,18 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_IDENTITY = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 230702; + CURRENT_PROJECT_VERSION = 230819; DEVELOPMENT_TEAM = 5YLLXUZBZ2; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 5YLLXUZBZ2; ENABLE_PREVIEWS = YES; INFOPLIST_FILE = "$(SRCROOT)/App/iOS App/Info.plist"; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.navigation"; IPHONEOS_DEPLOYMENT_TARGET = 15.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 4.2.2; + MARKETING_VERSION = 4.3.0; PRODUCT_BUNDLE_IDENTIFIER = de.pokuslabs.criticalmassberlin; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = "Critical Maps Prov Profile"; @@ -811,17 +812,18 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_IDENTITY = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 230702; + CURRENT_PROJECT_VERSION = 230819; DEVELOPMENT_TEAM = 5YLLXUZBZ2; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 5YLLXUZBZ2; ENABLE_PREVIEWS = YES; INFOPLIST_FILE = "$(SRCROOT)/App/iOS App/Info.plist"; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.navigation"; IPHONEOS_DEPLOYMENT_TARGET = 15.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 4.2.2; + MARKETING_VERSION = 4.3.0; PRODUCT_BUNDLE_IDENTIFIER = de.pokuslabs.criticalmassberlin; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = "Critical Maps Prov Profile"; diff --git a/CriticalMapsKit/.swiftpm/xcode/xcshareddata/xcschemes/SettingsFeature.xcscheme b/CriticalMapsKit/.swiftpm/xcode/xcshareddata/xcschemes/SettingsFeature.xcscheme new file mode 100644 index 00000000..5116d320 --- /dev/null +++ b/CriticalMapsKit/.swiftpm/xcode/xcshareddata/xcschemes/SettingsFeature.xcscheme @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/CriticalMapsKit/Sources/SettingsFeature/SettingsFeatureCore.swift b/CriticalMapsKit/Sources/SettingsFeature/SettingsFeatureCore.swift index 74f4d198..d4607e9d 100644 --- a/CriticalMapsKit/Sources/SettingsFeature/SettingsFeatureCore.swift +++ b/CriticalMapsKit/Sources/SettingsFeature/SettingsFeatureCore.swift @@ -30,8 +30,8 @@ public struct SettingsFeature: ReducerProtocol { ) } - var versionNumber: String { "Critical Maps \(Bundle.main.versionNumber)" } - var buildNumber: String { "Build \(Bundle.main.buildNumber)" } + var versionNumber: String { "\(Bundle.main.versionNumber)" } + var buildNumber: String { "\(Bundle.main.buildNumber)" } var acknowledgementsPlistPath: String? { guard let path = Bundle.module.path(forResource: "Acknowledgements", ofType: "plist") else { return nil diff --git a/CriticalMapsKit/Sources/SettingsFeature/SettingsView.swift b/CriticalMapsKit/Sources/SettingsFeature/SettingsView.swift index a4a57f74..591219b2 100644 --- a/CriticalMapsKit/Sources/SettingsFeature/SettingsView.swift +++ b/CriticalMapsKit/Sources/SettingsFeature/SettingsView.swift @@ -240,10 +240,10 @@ public struct SettingsView: View { .accessibilityHidden(true) VStack(alignment: .leading) { - Text(viewStore.versionNumber) + Text("Critical Maps") .font(.titleTwo) .foregroundColor(Color(.textPrimary)) - Text(viewStore.buildNumber) + Text("Version: \(viewStore.versionNumber)+\(viewStore.buildNumber)") .font(.bodyTwo) .foregroundColor(colorSchemeContrast.isIncreased ? Color(.textPrimary) : Color(.textSilent)) }