Skip to content

Commit

Permalink
Merge pull request #543 from HackIllinois/ishaan/incognito-login
Browse files Browse the repository at this point in the history
Open Login Page in Incognito #538
  • Loading branch information
imathur1 authored Oct 25, 2023
2 parents 6626985 + db5f57c commit 64c81da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions HackIllinois.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 52;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -1291,6 +1291,7 @@
DEVELOPMENT_TEAM = 8VNQTQM2L6;
ENABLE_ON_DEMAND_RESOURCES = YES;
EXCLUDED_ARCHS = "";
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/HackIllinois",
Expand Down Expand Up @@ -1321,7 +1322,7 @@
DEVELOPMENT_TEAM = 8VNQTQM2L6;
ENABLE_ON_DEMAND_RESOURCES = YES;
EXCLUDED_ARCHS = "";
"EXCLUDED_ARCHS[sdk=*]" = "";
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/HackIllinois",
Expand Down Expand Up @@ -1368,6 +1369,7 @@
MARKETING_VERSION = 2021.1.2;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = org.hackillinois.HIAPI;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -1407,6 +1409,7 @@
);
MARKETING_VERSION = 2021.1.2;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = org.hackillinois.HIAPI;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -1438,6 +1441,7 @@
MARKETING_VERSION = 2022.1.2;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = org.hackillinois.ios.Stickers;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand All @@ -1463,6 +1467,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 2022.1.2;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = org.hackillinois.ios.Stickers;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand Down
1 change: 1 addition & 0 deletions HackIllinois/FlowControllers/HILoginFlowController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ private extension HILoginFlowController {
self?.presentAuthenticationFailure(withError: error, sender: sender)
}
})
loginSession?.prefersEphemeralWebBrowserSession = true
loginSession?.presentationContextProvider = self
loginSession?.start()
}
Expand Down

0 comments on commit 64c81da

Please sign in to comment.