GitHub user breautek edited a comment on the discussion: window.cordova and window.FirebasePlugin are not accessable
> So I load the app with InAppBrowser var browser = cordova.InAppBrowser.open(url,'_blank','location=no,zoom=no,hidden=no,hardwareback=no,toolbar=no'); But inside the app, I don't have access to window.cordova In App browser context does not have access to the cordova bridge and this is by design. The in app browser is intended for viewing remote-based untrusted web content. It's a security issue (and a policy issue with Apple & Google) if remote content can access native device APIs. Therefore plugins are restricted to the main app webview. > The InAppBrowser window behaves like a standard web browser, and can't access > Cordova APIs. For this reason, the InAppBrowser is recommended if you need to > load third-party (untrusted) content, instead of loading that into the main > Cordova webview. The InAppBrowser is not subject to the whitelist, nor is > opening links in the system browser. https://github.com/apache/cordova-plugin-inappbrowser?tab=readme-ov-file#windowopen GitHub link: https://github.com/apache/cordova/discussions/521#discussioncomment-11834480 ---- This is an automatically sent email for issues@cordova.apache.org. To unsubscribe, please send an email to: issues-unsubscr...@cordova.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org