Skip to content

Commit

Permalink
Remove file scheme from supportedSchemes
Browse files Browse the repository at this point in the history
  • Loading branch information
JSUYA committed Jan 21, 2025
1 parent d9a4b38 commit a453893
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/url_launcher/lib/url_launcher_tizen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import 'package:url_launcher_platform_interface/url_launcher_platform_interface.
/// The Tizen implementation of [UrlLauncherPlatform].
class UrlLauncherPlugin extends UrlLauncherPlatform {
static final Set<String> _supportedSchemes = <String>{
'file',
'http',
'https',
};
Expand Down Expand Up @@ -46,4 +45,14 @@ class UrlLauncherPlugin extends UrlLauncherPlatform {
).sendLaunchRequest();
return true;
}

@override
Future<void> closeWebView() {
throw UnimplementedError('closeWebView() is not supported.');
}

@override
Future<bool> supportsCloseForMode(PreferredLaunchMode mode) {
return Future<bool>.value(false);
}
}

0 comments on commit a453893

Please sign in to comment.