File tree Expand file tree Collapse file tree 5 files changed +13
-10
lines changed
Expand file tree Collapse file tree 5 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = "ADALiOS"
3- s . version = "1.1.11 "
3+ s . version = "1.1.12 "
44 s . summary = "The ADAL SDK for iOS gives you the ability to add Azure Identity authentication to your application"
55
66 s . description = <<-DESC
Original file line number Diff line number Diff line change 2020// version in static define until we identify a better place:
2121#define ADAL_VER_HIGH 1
2222#define ADAL_VER_LOW 1
23- #define ADAL_VER_PATCH 11
23+ #define ADAL_VER_PATCH 12
2424
2525#import " ADLogger.h"
2626#import " ADErrorCodes.h"
Original file line number Diff line number Diff line change @@ -115,6 +115,13 @@ - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)
115115 // DebugLog( @"URL: %@", request.URL.absoluteString );
116116 NSString *requestURL = [request.URL absoluteString ];
117117
118+
119+ if ([[[request.URL scheme ] lowercaseString ] isEqualToString: @" browser" ]) {
120+ requestURL = [requestURL stringByReplacingOccurrencesOfString: @" browser://" withString: @" https://" ];
121+ [[UIApplication sharedApplication ] openURL: [[NSURL alloc ] initWithString: requestURL]];
122+ return NO ;
123+ }
124+
118125 // check for pkeyauth challenge.
119126 if ([requestURL hasPrefix: pKeyAuthUrn] )
120127 {
@@ -150,12 +157,6 @@ - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)
150157 return NO ;
151158 }
152159
153- if ([[[request.URL scheme ] lowercaseString ] isEqualToString: @" browser" ] && navigationType == UIWebViewNavigationTypeLinkClicked) {
154- requestURL = [requestURL stringByReplacingOccurrencesOfString: @" browser://" withString: @" https://" ];
155- [[UIApplication sharedApplication ] openURL: [[NSURL alloc ] initWithString: requestURL]];
156- return NO ;
157- }
158-
159160 return YES ;
160161}
161162
Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ -(void) releaseData{
7878 }
7979
8080 if (_certificateSubject){
81- CFRelease ((__bridge CFTypeRef)(_certificateSubject));
8281 _certificateSubject = nil ;
8382 }
8483
@@ -87,7 +86,6 @@ -(void) releaseData{
8786 }
8887
8988 if (_userPrincipalName){
90- CFRelease ((__bridge CFTypeRef)(_userPrincipalName));
9189 _userPrincipalName = nil ;
9290 }
9391
Original file line number Diff line number Diff line change 1+ Version 1.1.12
2+ --------------
3+ * Fix to ignore navigation type in the webview. It was blocking users from enrolling their device.
4+
15Version 1.1.11
26--------------
37This release contains bug fixes and updates for an improved developer experience. Given below is the changelist -
You can’t perform that action at this time.
0 commit comments