Skip to content

Commit

Permalink
Update dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmeng93 committed Jul 19, 2024
1 parent 1ce4a43 commit dad3d95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions lib/src/casdoor_flutter_sdk_mobile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ class _FullScreenAuthPageState extends State<FullScreenAuthPage> {
return Stack(
children: [
InAppWebView(
initialUrlRequest: URLRequest(url: Uri.parse(widget.params.url)),
initialUrlRequest:
URLRequest(url: WebUri.uri(Uri.parse(widget.params.url))),
initialOptions: InAppWebViewGroupOptions(
crossPlatform: InAppWebViewOptions(
userAgent:
Expand Down Expand Up @@ -207,7 +208,7 @@ class CasdoorFlutterSdkMobile extends CasdoorFlutterSdkPlatform {
});

await browser.openUrlRequest(
urlRequest: URLRequest(url: Uri.parse(params.url)),
urlRequest: URLRequest(url: WebUri.uri(Uri.parse(params.url))),
options: InAppBrowserClassOptions(
inAppWebViewGroupOptions: InAppWebViewGroupOptions(
crossPlatform: InAppWebViewOptions(
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ dependencies:
path: ^1.8.2
path_provider: ^2.1.1
desktop_webview_window: ^0.2.3
flutter_inappwebview: ^5.8.0
http: '>=0.13.4 <1.0.0'
flutter_inappwebview: ^6.0.0
http: ^1.0.0
crypto: ^3.0.2
jwt_decoder: ^2.0.1

Expand Down

0 comments on commit dad3d95

Please sign in to comment.