diff --git a/refilc/.gitignore b/refilc/.gitignore index 24476c5..f991fd7 100644 --- a/refilc/.gitignore +++ b/refilc/.gitignore @@ -42,3 +42,8 @@ app.*.map.json /android/app/debug /android/app/profile /android/app/release + +.symlinks/ +Pods +Podfile.lock +UserInterfaceState.xcuserstate \ No newline at end of file diff --git a/refilc/ios/Flutter/AppFrameworkInfo.plist b/refilc/ios/Flutter/AppFrameworkInfo.plist index 9625e10..7c56964 100644 --- a/refilc/ios/Flutter/AppFrameworkInfo.plist +++ b/refilc/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 11.0 + 12.0 diff --git a/refilc/ios/Podfile b/refilc/ios/Podfile index 02d8d13..2ab2399 100644 --- a/refilc/ios/Podfile +++ b/refilc/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -platform :ios, '12.0' +platform :ios, '13.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/refilc/ios/Runner.xcodeproj/project.pbxproj b/refilc/ios/Runner.xcodeproj/project.pbxproj index 3d7f9b1..806d9e6 100644 --- a/refilc/ios/Runner.xcodeproj/project.pbxproj +++ b/refilc/ios/Runner.xcodeproj/project.pbxproj @@ -224,6 +224,7 @@ 3127F74F28EAEC8A00C2EFB3 /* Embed Foundation Extensions */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 71459C0EB905E05018E3D78F /* [CP] Embed Pods Frameworks */, + 262089761B766E074256257A /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -242,7 +243,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 1410; - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1510; ORGANIZATIONNAME = ""; TargetAttributes = { 3127F78B28EAEDE200C2EFB3 = { @@ -296,6 +297,23 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ + 262089761B766E074256257A /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Copy Pods Resources"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; alwaysOutOfDate = 1; @@ -477,7 +495,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 195; + CURRENT_PROJECT_VERSION = 250; DEVELOPMENT_TEAM = 4DKAF249F3; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; @@ -487,7 +505,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 3.6.0; + MARKETING_VERSION = 5.0.0; PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; @@ -509,7 +527,7 @@ CODE_SIGN_ENTITLEMENTS = livecard/livecard.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 238; + CURRENT_PROJECT_VERSION = 250; DEVELOPMENT_TEAM = 4DKAF249F3; GCC_C_LANGUAGE_STANDARD = gnu11; GENERATE_INFOPLIST_FILE = YES; @@ -523,7 +541,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 4.5.1; + MARKETING_VERSION = 5.0.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo.livecardpro; @@ -551,7 +569,7 @@ CODE_SIGN_ENTITLEMENTS = livecard/livecard.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 238; + CURRENT_PROJECT_VERSION = 250; DEVELOPMENT_TEAM = 4DKAF249F3; GCC_C_LANGUAGE_STANDARD = gnu11; GENERATE_INFOPLIST_FILE = YES; @@ -565,7 +583,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 4.5.1; + MARKETING_VERSION = 5.0.0; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo.livecardpro; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -591,7 +609,7 @@ CODE_SIGN_ENTITLEMENTS = livecard/livecard.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 238; + CURRENT_PROJECT_VERSION = 250; DEVELOPMENT_TEAM = 4DKAF249F3; GCC_C_LANGUAGE_STANDARD = gnu11; GENERATE_INFOPLIST_FILE = YES; @@ -605,7 +623,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 4.5.1; + MARKETING_VERSION = 5.0.0; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo.livecardpro; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -735,7 +753,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 195; + CURRENT_PROJECT_VERSION = 250; DEVELOPMENT_TEAM = 4DKAF249F3; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; @@ -745,7 +763,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 3.6.0; + MARKETING_VERSION = 5.0.0; PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; @@ -763,7 +781,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 195; + CURRENT_PROJECT_VERSION = 250; DEVELOPMENT_TEAM = 4DKAF249F3; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; @@ -773,7 +791,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 3.6.0; + MARKETING_VERSION = 5.0.0; PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; diff --git a/refilc/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/refilc/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index c87d15a..5e31d3d 100644 --- a/refilc/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/refilc/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ + + + + SchemeUserState + + Runner.xcscheme_^#shared#^_ + + orderHint + 0 + + livecard.xcscheme_^#shared#^_ + + orderHint + 78 + + + + diff --git a/refilc/ios/Runner.xcworkspace/xcuserdata/tmarccci.xcuserdatad/UserInterfaceState.xcuserstate b/refilc/ios/Runner.xcworkspace/xcuserdata/tmarccci.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..45ab200 Binary files /dev/null and b/refilc/ios/Runner.xcworkspace/xcuserdata/tmarccci.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/refilc/ios/Runner/Info.plist b/refilc/ios/Runner/Info.plist index aa695d8..48ab44c 100644 --- a/refilc/ios/Runner/Info.plist +++ b/refilc/ios/Runner/Info.plist @@ -2,26 +2,14 @@ + BGTaskSchedulerPermittedIdentifiers + + com.transistorsoft.fetch + + CADisableMinimumFrameDurationOnPhone + CFBundleAlternateIcons - refilc_pride - - CFBundleIconFiles - - refilc_pride - - UIPrerenderedIcon - - - refilc_overcomplicated - - CFBundleIconFiles - - refilc_overcomplicated - - UIPrerenderedIcon - - refilc_concept CFBundleIconFiles @@ -40,31 +28,43 @@ UIPrerenderedIcon - - CFBundleIcons - - CFBundlePrimaryIcon + refilc_overcomplicated - CFBundleIconName - CFBundleIconFiles - + refilc_overcomplicated + + UIPrerenderedIcon + + + refilc_pride + + CFBundleIconFiles + + refilc_pride UIPrerenderedIcon - BGTaskSchedulerPermittedIdentifiers - - com.transistorsoft.fetch - - CADisableMinimumFrameDurationOnPhone - CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleExecutable $(EXECUTABLE_NAME) + CFBundleIcons + + CFBundlePrimaryIcon + + CFBundleIconFiles + + + + CFBundleIconName + + UIPrerenderedIcon + + + CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion @@ -77,6 +77,17 @@ $(FLUTTER_BUILD_NAME) CFBundleSignature ???? + CFBundleURLTypes + + + CFBundleTypeRole + Editor + CFBundleURLSchemes + + refilcapp + + + CFBundleVersion $(FLUTTER_BUILD_NUMBER) ITSAppUsesNonExemptEncryption @@ -88,6 +99,8 @@ LSRequiresIPhoneOS + NSCameraUsageDescription + The app requires the camera access to set a custom profile picture. NSPhotoLibraryUsageDescription The app requires the photo library to set a custom profile picture. NSSupportsLiveActivities diff --git a/refilc/pubspec.yaml b/refilc/pubspec.yaml index 16567a8..8a42c6f 100644 --- a/refilc/pubspec.yaml +++ b/refilc/pubspec.yaml @@ -3,7 +3,7 @@ description: "Egy nem hivatalos e-KRÉTA kliens, diákoktól diákoknak." homepage: https://refilc.hu publish_to: "none" -version: 5.0.0+247 +version: 5.0.0+250 environment: sdk: ">=2.17.0 <=3.3.2" diff --git a/refilc/update-version.sh b/refilc/update-version.sh new file mode 100755 index 0000000..ee57ea5 --- /dev/null +++ b/refilc/update-version.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +# Ask for version +echo "Enter new version (5.0.0):" +read version + +# Ask for build number +echo "Enter new build number (250):" +read build + +# Update version in pubspec.yaml +sed -i '' "s/version: .*/version: $version+$build/" pubspec.yaml + +# Update version in project.pbxproj +sed -i '' "s/CURRENT_PROJECT_VERSION = .*/CURRENT_PROJECT_VERSION = $build;/" ios/Runner.xcodeproj/project.pbxproj +sed -i '' "s/MARKETING_VERSION = .*/MARKETING_VERSION = $version;/" ios/Runner.xcodeproj/project.pbxproj