A
A
Andrey Prozorov2017-08-16 22:10:20
Android
Andrey Prozorov, 2017-08-16 22:10:20

Can I open an external link in a webview without leaving my ionic cordova app?

I fill out the Yandex checkout form, after that I go to the payment gateway in the chrome of the mobile phone with a post. But I would like to stay inside my web view, so that when the optala is completed, I get to the page from which I am thrown back to the mobile application.
Now it works so that after paying at the checkout I get us to the Tarinian thank you in chrome. and in order for me to return to the application, I need to deploy it manually

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MikeXDev, 2018-03-06
@i_d_1

https://ionicframework.com/docs/native/in-app-browser/
You can use InAppBrowser to solve this problem.
Inject the JS code and return the user to the application from the result.php page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question