flutter_appauth icon indicating copy to clipboard operation
flutter_appauth copied to clipboard

iOS app build - "openURL" and "SFAuthenticationSession" deprecation warnings.

Open sreekatt opened this issue 4 years ago • 2 comments

Flutter app, When doing an iOS build on Xcode, getting the following deprecated warnings...

flutter_appauth issues. 'openURL:' is deprecated: first deprecated in iOS 10.0 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0

Please advise, if there is any solution to resolve these issues. Thank you.

sreekatt avatar Jun 29 '21 20:06 sreekatt

Same question . For now i cannot build my project in ios , just upgrade to flutter 2.5

tokyokamera avatar Sep 21 '21 01:09 tokyokamera

There's no action to take here as these are deprecation warnings (emphasis on warnings). Furthermore, I've tried running flutter build ipa on the example app and a new Flutter 2.5 that takes a dependency on this plugin and besides how Flutter needed to bump the minimum iOS version to 9.0 automatically, I did't see these issues on either app.

If your app is not building then I believe there are other issues you'd need to look into as deprecation warnings don't prevent app to build. With Flutter 2.5 being released, there was a change to no longer support iOS 8.0 as a minimum target so I would suspect that is where the issue really is.

If you still believe there's an issue with the plugin itself then please provide a link to a repository that hosts a minimal app that can reproduce the problem

MaikuB avatar Sep 21 '21 10:09 MaikuB