Fix initial url

This commit is contained in:
Godwin Asuquo 2023-01-12 18:06:07 +01:00
parent 8c0b90eff7
commit 9bc337534c

View file

@ -75,6 +75,11 @@ class OnRamperPageBodyState extends State<OnRamperPageBody> {
initialOptions: InAppWebViewGroupOptions(
crossPlatform: InAppWebViewOptions(transparentBackground: true),
),
initialUrlRequest: URLRequest(
url: Uri.tryParse(
widget.uri.toString(),
),
),
androidOnPermissionRequest: (_, __, resources) async {
return PermissionRequestResponse(
resources: resources,