onExit method
Event fired when the PlatformInAppBrowser window is closed.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
- Linux WPE WebKit
Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
Implementation
@override
void onExit() {
sl<EztoResultService>().onClose(CloseReason.byUser);
}