pichillilorenzo / flutter_inappwebview

A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
https://inappwebview.dev
Apache License 2.0
3.26k stars 1.6k forks source link

A url is opened with the "System Browser" and "Chrome Safari Browser", but not opened in the webview #604

Closed vickywu23 closed 2 weeks ago

vickywu23 commented 3 years ago

https://pay.testwyre.com/purchase?accountId=AC_XW9HVYDM3VG&country=US&amountIncludeFees=false&utm_campaign=AC_XW9HVYDM3VG&destCurrency=ETH&paymentMethod=debit-card&reservation=C6JQ6EQ9CB24CDVFD77C&sourceCurrency=USD&sourceAmount=200&dest=ethereum%3A0xC617889dCF27F8e095D1F22Bf66789Ecd4d6Ac52&referenceId=b8f4a731-eac4-41b7-9ab4-b81e16991cc2&quoteId=82FMG6FJ7GJ

This URL is opened with the "System Browser" and "Chrome Safari Browser", but not opened in the webview in the demo code. And this URL is opened with the "flutter_webview_plugin". But I want to use the "flutter_inappwebview" due to it has the "androidOnPermissionRequest".

vickywu23 commented 3 years ago

Simulator Screen Shot - iPhone 12 Pro Max - 2020-11-27 at 15 19 33 Simulator Screen Shot - iPhone 12 Pro Max - 2020-11-27 at 15 19 47

The first pic is the wrong action, the webview hasn't response. the second pic is the right action.

ycv005 commented 3 years ago

Try with the latest- 5.0.0 (only avaible on the github)

  flutter_inappwebview:
      git:
        url: https://github.com/pichillilorenzo/flutter_inappwebview.git
        ref: master
vickywu23 commented 3 years ago

Hi, I try the latest- 5.0.0, but the webview still doesn't work. image above is the log, I am not sure if it is useful.

vickywu23 commented 3 years ago

image

Sorry, the pic isn't uploaded, below is the log infomation.

flutter: onWebViewCreated flutter: onLoadStart https://pay.testwyre.com/purchase?accountId=AC_XW9HVYDM3VG&country=US&amountIncludeFees=false&utm_campaign=AC_XW9HVYDM3VG&destCurrency=ETH&paymentMethod=debit-card&reservation=C6JQ6EQ9CB24CDVFD77C&sourceCurrency=USD&sourceAmount=200&dest=ethereum%3A0xC617889dCF27F8e095D1F22Bf66789Ecd4d6Ac52&referenceId=b8f4a731-eac4-41b7-9ab4-b81e16991cc2&quoteId=82FMG6FJ7GJ flutter: onLoadStop https://pay.testwyre.com/purchase?accountId=AC_XW9HVYDM3VG&country=US&amountIncludeFees=false&utm_campaign=AC_XW9HVYDM3VG&destCurrency=ETH&paymentMethod=debit-card&reservation=C6JQ6EQ9CB24CDVFD77C&sourceCurrency=USD&sourceAmount=200&dest=ethereum%3A0xC617889dCF27F8e095D1F22Bf66789Ecd4d6Ac52&referenceId=b8f4a731-eac4-41b7-9ab4-b81e16991cc2&quoteId=82FMG6FJ7GJ flutter: {message: [object Object], messageLevel: 1} flutter: {message: [object Object], messageLevel: 1} flutter: {message: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object], messageLevel: 1} flutter: {message: [object Object], messageLevel: 1} flutter: {message: session.set,config,{"exchangeRatePusherChannel":"rates","featureAvailability":{},"currencies":[{"name":"Aave","ticker":"AAVE","displayTicker":"AAVE","digitalCurrency":true,"erc20Token":true,"symbol":"","numberOfDecimalPlaces":18,"displayDecimalPlaces":8,"shortSymbol":""},{"name":"Australian Dollar","ticker":"AUD","displayTicker":"AUD","digitalCurrency":false,"erc20Token":false,"symbol":"A$","numberOfDecimalPlaces":2,"displayDecimalPlaces":2,"shortSymbol":"$"},{"name":"Basic Attention Token","ticker":"BAT","displayTicker":"BAT","digitalCurrency":true,"erc20Token":true,"symbol":"","numberOfDecimalPlaces":18,"displayDecimalPlaces":8,"shortSymbol":""},{"name":"Brazilian Real","ticker":"BRL","displayTicker":"BRL","digitalCurrency":false,"erc20Token":false,"symbol":"R$","numberOfDecimalPlaces":2,"displayDecimalPlaces":2,"shortSymbol":"$"},{"name":"bitcoin","ticker":"BTC","displayTicker":"BTC","digitalCurrency":true,"erc20Token":false,"symbol":"฿","numberOfDecimalPlaces":8,"displa<…> flutter: {message: session.set,countries,[{"name":"Algeria","code":"DZ","phonePrefix":"213"},{"name":"Argentina","code":"AR","phonePrefix":"54"},{"name":"Australia)","code":"AU","phonePrefix":"61"},{"name":"Austria (Österreich)","code":"AT","phonePrefix":"43"},{"name":"Belarus","code":"BY","phonePrefix":"375"},{"name":"Belgium (België)","code":"BE","phonePrefix":"32"},{"name":"Bolivia","code":"BO","phonePrefix":"591"},{"name":"Brazil","code":"BR","phonePrefix":"55"},{"name":"Canada","code":"CA","phonePrefix":"1"},{"name":"Chile","code":"CL","phonePrefix":"56"},{"name":"Colombia","code":"CO","phonePrefix":"57"},{"name":"Costa Rica","code":"CR","phonePrefix":"506"},{"name":"Cyprus","code":"CY","phonePrefix":"357"},{"name":"Czech Republic","code":"CZ","phonePrefix":"420"},{"name":"Denmark","code":"DK","phonePrefix":"45"},{"name":"Dominican Republic","code":"DO","phonePrefix":"1"},{"name":"Estonia","code":"EE","phonePrefix":"372"},{"name":"Finland","code":"FI","phonePrefix":"358"},{"name":"France<…> flutter: {message: session.get,config,[object Object], messageLevel: 1} flutter: {message: session.get,wyreSessionId,, messageLevel: 1} flutter: {message: session.set,wyreSessionId,950fa32d-83b4-482f-b0d2-f91522eb105a, messageLevel: 1} flutter: {message: session.get,wyreSessionId,950fa32d-83b4-482f-b0d2-f91522eb105a, messageLevel: 1} flutter: {message: session.get,config,[object Object], messageLevel: 1} flutter: {message: session.get,config,[object Object], messageLevel: 1} flutter: {message: session.get,config,[object Object], messageLevel: 1} flutter: {message: Configuration loaded,[object Object], messageLevel: 1} flutter: {message: session.get,params,, messageLevel: 1} flutter: {message: Initial stored params,[object Object], messageLevel: 1}

noyon04 commented 3 years ago

I have the same problem too. Gpay page is not opening, shows "Unexpected Developer Error, Please Try again later. But ChromeSafariBrowser works fine. So, is there any solution for that? or not showing the heading of chromesafariBrowser.

gitsofkhaleel commented 1 year ago

any update on this

github-actions[bot] commented 2 weeks ago

This issue is stale and has been automatically closed because it has been open for more than 365 days with no activity. Please reopen a new issue if you still have it.

github-actions[bot] commented 1 day ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.