Back to Cordova

2022 03 10

slack-digest/2022-03-10.md

latest1.6 KB
Original Source

Cordova Slack Digest

Thu, 10 Mar 2022 08:21:30 GMT

User count: 4687

Join the conversation at slack.cordova.io

Channel #general (1 messages)


Thu, 10 Mar 2022 01:07:54 GMT

@sfeast says

I’m trying do an animated splash screen by matching an icon’s position/size to where it was shown on the splash screen (using cordova-plugin-splashscreen) so that I can then animate it from the same starting position/size once the splash is hidden.

On iOS I’m currently using a single-image launch screen, portrait only. From reading the https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/#single-image-launch-screen|docs it sounds like we can’t be sure what the expected splash scaling will be to then know what size the icon should be, however from simulator testing it seems that iPhoneX & up use the same scaling, while iPads use a different but also consistent scaling. Not sure about below iPhone X but is this approach too simplistic?

Or better yet is there a known approach for how to achieve this? As an example here’s the effect on Uber:

Channel #cordova-electron (1 messages)


Wed, 09 Mar 2022 15:08:48 GMT

@miroslav.vojtus says

Hello @erisu is there some integration for allow orogin tag from config.xml? According to https://www.electronjs.org/docs/latest/tutorial/security#14-disable-or-limit-creation-of-new-windows there are some options how to eventually implement it. Is there some way how to read the config.xml from the electron main process?