fluttercommunity / fluttercommunity/flutter_webview_plugin

Navigation inside webview with atos payment system

Đang mở
#35 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
1.5k
Fork
938
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

First, thank you very much for this very nice plugin for flutter.

Next, i need your help because i am trying to implement payment system inside flutter_webview_plugin.

When i open the webview for example like this :

```
// close any open browser (happen on hot reload)
await flutterWebviewPlugin.close();
_isOpen = true;

// init server
_server = await _createServer();
_listenCode(_server);

// catch onDestroy event of WebView
flutterWebviewPlugin.onDestroy.first.then((_) {
_close();
});

flutterWebviewPlugin.onBackPressed.first.then((_) {
_close();
});

// launch url inside webview
flutterWebviewPlugin.launch(url,
clearCookies: !cookie, fullScreen: fullscreen);
```

It is working well and my user is redirect to flutter webview to my payment page.
But when i am on the payment page atos ask me to chose my credit card like this :

![askcard](https://user-images.githubusercontent.com/4659609/35822872-f2269d8e-0aad-11e8-87a1-aa1d9a001f65.PNG)

On the computer when i click on a card everything is working well and i am redirected to the next page but when i am inside the flutter webview nothing happened and the flutter console show :

```
D/AppTracker(13525): App Event: stop
I/zygote (13525): Do partial code cache collection, code=123KB, data=113KB
I/zygote (13525): After code cache collection, code=123KB, data=113KB
I/zygote (13525): Increasing code cache capacity to 512KB
E/BoostFramework(13525): BoostFramework() : Exception_1 = java.lang.NoSuchMethodException: perfIOPrefetchStart [int, class java.lang.String]
E/BoostFramework(13525): BoostFramework() : Exception_1 = java.lang.NoSuchMethodException: perfIOPrefetchStart [int, class java.lang.String]
D/AppTracker(13525): App Event: start
I/chromium(13525): [INFO:CONSOLE(0)] "The SSL certificate used to load resources from https://sandbox-webkit.lemonway.fr will be distrusted in the future. Once distrusted, users will be prevented from loading these resources. See https://g.co/chrome/symantecpkicerts for more information.", source: (0)
I/chromium(13525): [INFO:CONSOLE(0)] "The SSL certificate used to load resources from https://sandbox-webkit.lemonway.fr will be distrusted in the future. Once distrusted, users will be prevented from loading these resources. See https://g.co/chrome/symantecpkicerts for more information.", source: https://sandbox-webkit.lemonway.fr/myapp/dev/?moneyInToken=123456789101112131415&lang=fr (0)
```

Do you have any ideas please ?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.