-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Labels
p: url_launcherPlugin to launch external applicationsPlugin to launch external applicationspackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-webWeb applications specificallyWeb applications specifically
Description
I was working on a package
https://pub.dev/packages/oauth2
This oauth2 package is marked web on pub.dev
However, this package uses url_launcher, and url_launcher does not work with web
If you look at the oauth2 package and attempt to run the example via
flutter run -d chrome,
You'll see that the code hangs in the canLaunch(url) code in lib/oauth.dart
if (await canLaunch(url)) {
await launch(url);
} else {
throw 'Could not launch $url';
}
}
The function never returns.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
p: url_launcherPlugin to launch external applicationsPlugin to launch external applicationspackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-webWeb applications specificallyWeb applications specifically