Is there an existing feature request for this?
Operating System
iOS, macOS
Pain
The iOS implemetation of this package currently uses UIApplication.shared.canOpenURL(_:) before open the settings URL.
Example:
|
if !UIApplication.shared.canOpenURL(absoluteUrl) { |
canOpenURL(_:) is deprecated in the iOS 27 SDK
Suggested solution
Instead of checking whether the URL can be opened using canOpenURL(_:). Consider opening the URL directly and handling the result of the operation.
Example
UIApplication.shared.open(url, options: [:]) { isSuccess in
// TODO somethings
}
Useful resources
No response
Additional information
No response
Self grab
Is there an existing feature request for this?
Operating System
iOS, macOS
Pain
The iOS implemetation of this package currently uses
UIApplication.shared.canOpenURL(_:)before open the settings URL.Example:
flutter_inappwebview/flutter_inappwebview_ios/ios/flutter_inappwebview_ios/Sources/flutter_inappwebview_ios/InAppBrowser/InAppBrowserManager.swift
Line 131 in 17527ca
canOpenURL(_:)is deprecated in the iOS 27 SDKSuggested solution
Instead of checking whether the URL can be opened using
canOpenURL(_:). Consider opening the URL directly and handling the result of the operation.Example
Useful resources
No response
Additional information
No response
Self grab