slack-digest/2020-11-05.md
Thu, 05 Nov 2020 08:23:14 GMT
Join the conversation at slack.cordova.io
Wed, 04 Nov 2020 16:14:16 GMT
@andressotomayorbaquer says
Hey all, have you ever imagine how it would be if Figma and React have a baby? https://www.funklang.com/|funkLang, it's a new FrontEnd framework that combines visual and programmatic workflows that allow designers and developers to work together. We just launched our https://www.funklang.com/betaSignup|beta, and it would be great to know your comments or get any feedback!
Thu, 05 Nov 2020 01:00:06 GMT
@ivan.harpley says
I was under the impression that doing
cordova platform add browser, thencordova prepare browserfollowed bycordova run browserwould result inwindow.cordova/window.devicebeing available within the browser but it doesn't appear to be the case. Is there a way to Cordova available in the browser?
Thu, 05 Nov 2020 02:21:22 GMT
@norman137 says
are you waiting for the
devicereadyevent?
Thu, 05 Nov 2020 05:43:20 GMT
@ivan.harpley says
Yes, but it doesn't fire. Even if I wait for the page to load an manually look for cordova / device in the console I can't find it... It's worth pointing out that this is for use in the Browser, rather than Electron (just in case I wasn't clear in my initial question)
Wed, 04 Nov 2020 13:38:41 GMT
@norman137 says
Native behaviour like that is often not modifiable by the browser. It might be possible through a plugin. The android webview class has many hook methods for things like that, but I don't know if that specifically is overridable.
Another potential solution that is pure JS is just to prevent the native behaviour (usually done by calling
event.preventDefault()) and display your own popup menu instead.
Wed, 04 Nov 2020 12:24:43 GMT
@g.asci says
Is there a working plugin for facebook analytics?