File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 27372737 ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
27382738 CODE_SIGN_IDENTITY = "Apple Development";
27392739 CODE_SIGN_STYLE = Automatic;
2740- CURRENT_PROJECT_VERSION = 4 ;
2740+ CURRENT_PROJECT_VERSION = 35 ;
27412741 DEVELOPMENT_TEAM = G8MQVE5WWW;
27422742 GENERATE_INFOPLIST_FILE = YES;
27432743 INFOPLIST_FILE = GoInfoGame/Info.plist;
27752775 ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
27762776 CODE_SIGN_IDENTITY = "Apple Development";
27772777 CODE_SIGN_STYLE = Automatic;
2778- CURRENT_PROJECT_VERSION = 4 ;
2778+ CURRENT_PROJECT_VERSION = 35 ;
27792779 DEVELOPMENT_TEAM = G8MQVE5WWW;
27802780 GENERATE_INFOPLIST_FILE = YES;
27812781 INFOPLIST_FILE = GoInfoGame/Info.plist;
Original file line number Diff line number Diff line change @@ -76,7 +76,9 @@ struct PosmLoginView: View {
7676 }
7777 . padding ( . top, 20 )
7878
79- if SessionManager . shared. canUseBiometricLogin ( for: selectedEnvironment) {
79+ appVersionText
80+
81+ if SessionManager . shared. canUseBiometricLogin ( for: selectedEnvironment) || true {
8082 Button ( action: {
8183 APIConfiguration . shared. environment = selectedEnvironment
8284 BiometricAuthManager . authenticate ( reason: " Login using Face ID " ) { result in
@@ -106,7 +108,7 @@ struct PosmLoginView: View {
106108 }
107109 }
108110
109- if viewModel. hasLoginFailed {
111+ if viewModel. hasLoginFailed || true {
110112 Text ( " Invalid Credentials " )
111113 . foregroundColor ( . red)
112114 . padding ( . top, 10 )
@@ -137,6 +139,12 @@ struct PosmLoginView: View {
137139 Text ( " Your session has expired. Please login again " )
138140 }
139141 }
142+
143+ var appVersionText : Text {
144+ let version = Bundle . main. infoDictionary ? [ " CFBundleShortVersionString " ] as? String ?? " N/A "
145+ let build = Bundle . main. infoDictionary ? [ " CFBundleVersion " ] as? String ?? " N/A "
146+ return Text ( " Version \( version) ( \( build) ) " )
147+ }
140148}
141149
142150#Preview {
You can’t perform that action at this time.
0 commit comments