I’m trying to add a in app browser inside a page in my app project.
Using the InAppBrowser Capacitor Plugin API | Capacitor Documentation and the code as below I’m only able to see the page opening fullscreen or depending of the options it’s opening like an overlay moving the current app page to the back with the usual 3d effect. The goal is having the a web page opening in the content part of the app kepping the header and footer as it is independent of the content.
Anyone has the same issue or have any ideas what could be done to solve this ?
thanks in advance
await InAppBrowser.openInWebView({
url: "https://google.com",
options: {
showURL: false,
showToolbar: false,
clearCache: false,
clearSessionCache: false,
mediaPlaybackRequiresUserAction: false,
closeButtonText: '',
toolbarPosition: ToolbarPosition.TOP,
showNavigationButtons: false,
leftToRight: false,
customWebViewUserAgent: null,
android: {
allowZoom: false,
hardwareBack: false,
pauseMedia: false
},
iOS: {
allowOverScroll: false,
enableViewportScale: false,
allowInLineMediaPlayback: false,
surpressIncrementalRendering: false,
viewStyle: iOSViewStyle.PAGE_SHEET,
animationEffect: iOSAnimation.COVER_VERTICAL
}
}
});