diff --git a/flutter_appauth/CHANGELOG.md b/flutter_appauth/CHANGELOG.md index 0db91fe4..216c0638 100644 --- a/flutter_appauth/CHANGELOG.md +++ b/flutter_appauth/CHANGELOG.md @@ -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 diff --git a/flutter_appauth/ios/Classes/FlutterAppauthPlugin.m b/flutter_appauth/ios/Classes/FlutterAppauthPlugin.m index b7b81ec1..f4e79f81 100644 --- a/flutter_appauth/ios/Classes/FlutterAppauthPlugin.m +++ b/flutter_appauth/ios/Classes/FlutterAppauthPlugin.m @@ -197,7 +197,7 @@ - (void)performAuthorization:(OIDServiceConfiguration *)serviceConfiguration cli } } -- (NSObject *)userAgentWithViewController:(UIViewController *)rootViewController useEphemeralSession:(BOOL)useEphemeralSession { +- (id)userAgentWithViewController:(UIViewController *)rootViewController useEphemeralSession:(BOOL)useEphemeralSession { if (useEphemeralSession) { return [[OIDExternalUserAgentIOSNoSSO alloc] initWithPresentingViewController:rootViewController]; diff --git a/flutter_appauth/ios/Classes/OIDExternalUserAgentIOSNoSSO.h b/flutter_appauth/ios/Classes/OIDExternalUserAgentIOSNoSSO.h index 452aa300..a886e2d4 100644 --- a/flutter_appauth/ios/Classes/OIDExternalUserAgentIOSNoSSO.h +++ b/flutter_appauth/ios/Classes/OIDExternalUserAgentIOSNoSSO.h @@ -17,9 +17,9 @@ */ #import +#import "OIDExternalUserAgent.h" @class SFSafariViewController; -@protocol OIDExternalUserAgent; NS_ASSUME_NONNULL_BEGIN diff --git a/flutter_appauth/pubspec.yaml b/flutter_appauth/pubspec.yaml index 48e77911..dc32d139 100644 --- a/flutter_appauth/pubspec.yaml +++ b/flutter_appauth/pubspec.yaml @@ -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: