Skip to content

Commit

Permalink
[flutter_appauth] fix iOS warnings (#124)
Browse files Browse the repository at this point in the history
* fix warnings displayed picked up in XCode

* bump plugin for release
  • Loading branch information
MaikuB authored Jun 15, 2020
1 parent 5f39fd4 commit e9ab9f1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions flutter_appauth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.9.1+1

* Fixes warnings picked up in Xcode raised in issue [123](https://github.com/MaikuB/flutter_appauth/issues/123)

## 0.9.1

* [iOS] Update AppAuth SDK dependency to 1.3.1
Expand Down
2 changes: 1 addition & 1 deletion flutter_appauth/ios/Classes/FlutterAppauthPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ - (void)performAuthorization:(OIDServiceConfiguration *)serviceConfiguration cli
}
}

- (NSObject<OIDExternalUserAgent> *)userAgentWithViewController:(UIViewController *)rootViewController useEphemeralSession:(BOOL)useEphemeralSession {
- (id<OIDExternalUserAgent>)userAgentWithViewController:(UIViewController *)rootViewController useEphemeralSession:(BOOL)useEphemeralSession {
if (useEphemeralSession) {
return [[OIDExternalUserAgentIOSNoSSO alloc]
initWithPresentingViewController:rootViewController];
Expand Down
2 changes: 1 addition & 1 deletion flutter_appauth/ios/Classes/OIDExternalUserAgentIOSNoSSO.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
*/

#import <UIKit/UIKit.h>
#import "OIDExternalUserAgent.h"

@class SFSafariViewController;
@protocol OIDExternalUserAgent;

NS_ASSUME_NONNULL_BEGIN

Expand Down
2 changes: 1 addition & 1 deletion flutter_appauth/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_appauth
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
version: 0.9.1
version: 0.9.1+1
homepage: https://github.com/MaikuB/flutter_appauth/tree/master/flutter_appauth

environment:
Expand Down

0 comments on commit e9ab9f1

Please sign in to comment.