My app, created using Quasar and vue.js, incorporates a standard Google Map iframe (Google Embed API). The app is designed to function as a regular web app, PWA, and Cordova app.
In the web/pwa versions, clicking on the "open larger map" link provided by Google opens a new window, exactly as intended. However, in the Cordova version, these links do not open in the system browser like all the other external links do without any problems. It's puzzling why this behavior differs between the web/pwa and Cordova versions, especially since both should work with target='_blank'
to open links in the system browser (which is already present in Google's link).
It seems likely that the issue has something to do with the fact that it is within an iframe, but it remains unclear why it works correctly in web/pwa but not in Cordova.
Below are the code snippets from the source of the Cordova and Web apps:
Web:
<iframe src="https://www.google.com/maps/embed/v1/place?key=xxx&q=2925+Euclid+Avenue%2CCleveland%2COH%2C44115" allowfullscreen="allowfullscreen" style="border: 0px none; height: 400px;" width="100%" frameborder="0"></iframe>
Cordova:
<iframe width="100%" frameborder="0" src="https://www.google.com/maps/embed/v1/place?key=xxx&q=2925+Euclid+Avenue%2CCleveland%2COH%2C44115" style="border: 0px; height: 250px;"></iframe>
Any thoughts on how to resolve this issue?