Cordova Slack Digest

Mon, 25 Jan 2021 09:10:06 GMT

User count: 4341

Join the conversation at slack.cordova.io

Channel #random (1 messages)


Sun, 24 Jan 2021 18:36:35 GMT

@worka640 says

Channel #general (9 messages)


Sun, 24 Jan 2021 17:04:57 GMT

@alex678 says

Hello to all, i use cordova for my iOS/Android/Win10, everything works fine. But for OSX platform, device object (platform...) is always null, do you know please what i must check ? Plugin cordova-plugin-device Alex

Sun, 24 Jan 2021 17:07:21 GMT

@gh says

Try connecting the Safari Remote Inspector. Any error messages in the console?

Sun, 24 Jan 2021 17:11:32 GMT

@alex678 says

device and device.version are undefined, like if the plugin dont work

Sun, 24 Jan 2021 17:11:54 GMT

@alex678 says

i dont see other errors

Sun, 24 Jan 2021 17:27:25 GMT

@alex678 says

In fact, framework7 load correctly, but it seems that 0 cordova plugins are loaded, cordova variable seems ok but cordova.plugins is undefined too.

Mon, 25 Jan 2021 02:29:41 GMT

@mathewp.94 says

Can I access config.xml data/preferences from a Cordova hook?

Mon, 25 Jan 2021 02:31:26 GMT

@dpogue says

yes, using cordova-lib and cordova-common APIs

Mon, 25 Jan 2021 02:31:41 GMT

@dpogue says

https://github.com/AyogoHealth/cordova-plugin-app-scope/blob/master/src/prepare_hook.js#L95-L99 is an example

Mon, 25 Jan 2021 02:35:40 GMT

@mathewp.94 says

awesome, thanks dpogue