Skip to content
This repository was archived by the owner on Feb 11, 2023. It is now read-only.

Commit de04362

Browse files
authored
Merge pull request #2 from Assimalign-LLC/users/ccrawford/ios.web.fixes
Users/ccrawford/ios.web.fixes
2 parents d2d4939 + 7415bc6 commit de04362

File tree

20 files changed

+377
-82
lines changed

20 files changed

+377
-82
lines changed

.DS_Store

-6 KB
Binary file not shown.

src/.DS_Store

-6 KB
Binary file not shown.

src/.vs/slnx.sqlite

88 KB
Binary file not shown.

src/.vs/slnx.sqlite-journal

28.6 KB
Binary file not shown.

src/msal-capacitor-plugin-demo/ios/App/App.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -349,12 +349,12 @@
349349
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
350350
CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
351351
CODE_SIGN_STYLE = Automatic;
352-
DEVELOPMENT_TEAM = NGDMY4TLA6;
352+
DEVELOPMENT_TEAM = "";
353353
INFOPLIST_FILE = App/Info.plist;
354-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
354+
IPHONEOS_DEPLOYMENT_TARGET = 14.2;
355355
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
356356
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
357-
PRODUCT_BUNDLE_IDENTIFIER = io.ionic.starter;
357+
PRODUCT_BUNDLE_IDENTIFIER = some.bundle.id;
358358
PRODUCT_NAME = "$(TARGET_NAME)";
359359
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG USE_PUSH";
360360
SWIFT_VERSION = 5.0;
@@ -369,11 +369,11 @@
369369
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
370370
CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
371371
CODE_SIGN_STYLE = Automatic;
372-
DEVELOPMENT_TEAM = NGDMY4TLA6;
372+
DEVELOPMENT_TEAM = "";
373373
INFOPLIST_FILE = App/Info.plist;
374-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
374+
IPHONEOS_DEPLOYMENT_TARGET = 14.2;
375375
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
376-
PRODUCT_BUNDLE_IDENTIFIER = io.ionic.starter;
376+
PRODUCT_BUNDLE_IDENTIFIER = some.bundle.id;
377377
PRODUCT_NAME = "$(TARGET_NAME)";
378378
SWIFT_ACTIVE_COMPILATION_CONDITIONS = USE_PUSH;
379379
SWIFT_VERSION = 5.0;

src/msal-capacitor-plugin-demo/ios/App/App/App.entitlements

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
<dict>
55
<key>keychain-access-groups</key>
66
<array>
7-
<string>$(AppIdentifierPrefix)com.microsoft.adalcache</string>
8-
<string>$(AppIdentifierPrefix)com.microsoft.identity.universalstorage</string>
9-
<string>$(AppIdentifierPrefix)sessionStorage</string>
7+
<string>$(AppIdentifierPrefix)com.company.cache</string>
108
</array>
119
</dict>
1210
</plist>

src/msal-capacitor-plugin-demo/ios/App/App/Info.plist

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>LSApplicationQueriesSchemes</key>
6-
<array>
7-
<string>msauthv2</string>
8-
<string>msauthv3</string>
9-
</array>
10-
<key>NSFaceIDUsageDescription</key>
11-
<string>For an easier and faster log in.</string>
125
<key>CFBundleDevelopmentRegion</key>
136
<string>en</string>
147
<key>CFBundleDisplayName</key>
@@ -33,12 +26,17 @@
3326
<key>CFBundleURLSchemes</key>
3427
<array>
3528
<string>capacitor</string>
36-
<string>msauth.assimalign.MSALiOS</string>
29+
<string></string>
3730
</array>
3831
</dict>
3932
</array>
4033
<key>CFBundleVersion</key>
4134
<string>1</string>
35+
<key>LSApplicationQueriesSchemes</key>
36+
<array>
37+
<string>msauthv2</string>
38+
<string>msauthv3</string>
39+
</array>
4240
<key>LSRequiresIPhoneOS</key>
4341
<true/>
4442
<key>NSAppTransportSecurity</key>
@@ -48,6 +46,8 @@
4846
</dict>
4947
<key>NSCameraUsageDescription</key>
5048
<string>To Take Photos and Video</string>
49+
<key>NSFaceIDUsageDescription</key>
50+
<string>For an easier and faster log in.</string>
5151
<key>NSLocationAlwaysUsageDescription</key>
5252
<string>Always allow Geolocation?</string>
5353
<key>NSLocationWhenInUseUsageDescription</key>

src/msal-capacitor-plugin-demo/package-lock.json

Lines changed: 84 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/msal-capacitor-plugin-demo/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@types/react-router": "^5.1.11",
2020
"@types/react-router-dom": "^5.1.7",
2121
"ionicons": "^5.4.0",
22+
"jsonwebtoken": "^8.5.1",
2223
"react": "^17.0.1",
2324
"react-dom": "^17.0.1",
2425
"react-router": "^5.2.0",

src/msal-capacitor-plugin-demo/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const App: React.FC = () => {
2222

2323
const authProvider = useAuthentication();
2424
const [isAuthenticated, setIsAuthenticated] = useState<boolean>(false);
25-
25+
const [accessToken, setAccessToken] = useState<string>("");
2626

2727
useEffect(()=>{
2828
handleLogin();

0 commit comments

Comments
 (0)