Skip to content

Commit e9ab9f1

Browse files
authored
[flutter_appauth] fix iOS warnings (MaikuB#124)
* fix warnings displayed picked up in XCode * bump plugin for release
1 parent 5f39fd4 commit e9ab9f1

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

flutter_appauth/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.9.1+1
2+
3+
* Fixes warnings picked up in Xcode raised in issue [123](https://github.com/MaikuB/flutter_appauth/issues/123)
4+
15
## 0.9.1
26

37
* [iOS] Update AppAuth SDK dependency to 1.3.1

flutter_appauth/ios/Classes/FlutterAppauthPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ - (void)performAuthorization:(OIDServiceConfiguration *)serviceConfiguration cli
197197
}
198198
}
199199

200-
- (NSObject<OIDExternalUserAgent> *)userAgentWithViewController:(UIViewController *)rootViewController useEphemeralSession:(BOOL)useEphemeralSession {
200+
- (id<OIDExternalUserAgent>)userAgentWithViewController:(UIViewController *)rootViewController useEphemeralSession:(BOOL)useEphemeralSession {
201201
if (useEphemeralSession) {
202202
return [[OIDExternalUserAgentIOSNoSSO alloc]
203203
initWithPresentingViewController:rootViewController];

flutter_appauth/ios/Classes/OIDExternalUserAgentIOSNoSSO.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
*/
1818

1919
#import <UIKit/UIKit.h>
20+
#import "OIDExternalUserAgent.h"
2021

2122
@class SFSafariViewController;
22-
@protocol OIDExternalUserAgent;
2323

2424
NS_ASSUME_NONNULL_BEGIN
2525

flutter_appauth/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_appauth
22
description: This plugin provides an abstraction around the Android and iOS AppAuth SDKs so it can be used to communicate with OAuth 2.0 and OpenID Connect providers
3-
version: 0.9.1
3+
version: 0.9.1+1
44
homepage: https://github.com/MaikuB/flutter_appauth/tree/master/flutter_appauth
55

66
environment:

0 commit comments

Comments
 (0)