I need a way to render URL in app page.
In android native, It is possible to render external URL with tab structure using WebView by passing URL in it.
While finding its alternative in IONIC 5,
- There is an ionic-webview plugin is available but it has function to pass file path. Is there a way to pass URL in ionic-webview?
- Another way I found is using In App Browser but it opens URL in full screen mode, while I need to render url within the app’s page (in ion-content not outside the page).
- Using iframe, but it gives this error. Refused to display ‘website name’ in a frame because it set ‘X-Frame-Options’ to ‘deny’
- Using jQuery to load URL directly, but it gives error as mentioned below.
error: blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Can anyone please let me know the way to render external URL in ionic app’s page?