I want to submit a checkout form to an external url, that should open a new window with the result, but I can't make my app to open it nor in a separate window, nor using the in app browser.
What I've done until now is to create a directive with the form inside, and from linker function, call the submit element at some point.
When I'm running in browser, this opens a new window (like I want). The problem appears when running on device, because it just REPLACES the content of my view with the new content WITHOUT OPENING an external window.
So, the question is... when running on device, how can I post this form opening a new window (navigator) or in-app-browser, and show there the results?
Thanks!!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…