Cordova Slack Digest

Thu, 05 Nov 2020 08:23:14 GMT

User count: 4211

Join the conversation at slack.cordova.io

Channel #random (1 messages)


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!

Channel #general (3 messages)


Thu, 05 Nov 2020 01:00:06 GMT

@ivan.harpley says

I was under the impression that doing cordova platform add browser, then cordova prepare browser followed by cordova run browser would result in window.cordova / window.device being 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 deviceready event?

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)

Channel #cordova-android (1 messages)


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.

Channel #plugins (1 messages)


Wed, 04 Nov 2020 12:24:43 GMT

@g.asci says

Is there a working plugin for facebook analytics?