Ionic is most beautiful and popular cross-platform mobile development technology. Sometimes we need to show other webpages in our app. For that, we have 2 options:
iframe - feels like part of app so works beautifully for user experience. But we don’t have any support for iframe from ionic team, also @mhartington mentions it will get our app rejected in apple store.
InAppBrowser - Ionic uses cordova inappbrowser which does the basic work. The problem is Ionic 2 is so advanced now that default styles feels native whether it’s iOS, Android or Windows platform. Using cordova inappbrowser lacks theme and has very basic UI as compare to Ionic, results in bad user experience.
Yeah… then it will be fine in my case.
I never do that so I won’t have to worry about this.
But I’m still curious if in-app-browser performs better than iframe on Cordova?
In terms of performance and compatibility, which one’s better?
or is there a better solution?