Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
Maybe a using/namespace problem with InAppBrowser
I cant access
window.open = cordova.InAppBrowser.open;
window.open = window.plugins.InAppBrowser.open;
How can i do use InAppBrowser with Onsen UI + Vue.Js
Does this actually cause issues when you build your app? I wouldn’t be surprised if an IDE could not resolve references to Cordova plugins due to the way they’re designed.
@asialgearoid thanks for your reply. But its not a IDE problem. Because Chrome console is says: “ReferenceError: cordova is not defined”.
cordovavariable is only available if you package the app using the
cordovacommand, so it’s not normally available if you are testing in your browser. I know
InAppBrowserdoes support the
browserplatform, but I think for that to work, you’ll need to serve your site using
cordova serve. How are you currently serving it?
@asialgearoid Thanks for your reply. I’m sorry for the delay.
I will try it Cordova Serve. I tried it is Monaca Serve.
At the same time, i compiled and packed live build on a real Android and Iphone.
Still it doesnt work.