This question is locked. New answers and comments are not allowed.
Hello,
I am thinking of building a hybrid app with particular functionality and wanted to know if NativeScript would provide the necessary features.
The app would be a hybrid app, targeted at iOS and Android. It is a shopping-related app, so the requirement is to be able to load and view a Website within the app. I already have a Proxy to get around the same-origin restriction imposed by elements such as <iframe>s, to be able to access Websites from domains other than the apps.
The main question I have is around loading these Websites. What would be the best way to do so: Use a <webview> element in an HTML page, setting the source to the domain I want to view? Or, is it possible to use an <iframe> in the HTML page?
Or, does NativeScript provide some other functionality that would make this feature easier to develop - to be able to load and display a Website in some container or another? This feature needs to be flexible - to have users be able to type the URL of a merchant in an input field, and then have that merchant's Website be displayed (in the <webview>, <iframe>, or something else). No chrome is needed - no back button, navigation, caching, or even history; just the loading and display of the Website.
Please let me know what the best way would be to approach this using NativeScript (assuming of course that it's possible to do so).
Thanks!
I am thinking of building a hybrid app with particular functionality and wanted to know if NativeScript would provide the necessary features.
The app would be a hybrid app, targeted at iOS and Android. It is a shopping-related app, so the requirement is to be able to load and view a Website within the app. I already have a Proxy to get around the same-origin restriction imposed by elements such as <iframe>s, to be able to access Websites from domains other than the apps.
The main question I have is around loading these Websites. What would be the best way to do so: Use a <webview> element in an HTML page, setting the source to the domain I want to view? Or, is it possible to use an <iframe> in the HTML page?
Or, does NativeScript provide some other functionality that would make this feature easier to develop - to be able to load and display a Website in some container or another? This feature needs to be flexible - to have users be able to type the URL of a merchant in an input field, and then have that merchant's Website be displayed (in the <webview>, <iframe>, or something else). No chrome is needed - no back button, navigation, caching, or even history; just the loading and display of the Website.
Please let me know what the best way would be to approach this using NativeScript (assuming of course that it's possible to do so).
Thanks!