Cordova Slack Digest

Fri, 09 Jul 2021 08:25:18 GMT

User count: 4546

Join the conversation at slack.cordova.io

Channel #random (1 messages)


Thu, 08 Jul 2021 21:48:57 GMT

@mathewp.94 says

Wrote a post about which Cordova Hooks run with which Cordova commands: https://www.mathew-paul.nz/posts/cordova-hooks/

Channel #general (2 messages)


Thu, 08 Jul 2021 15:18:29 GMT

@xavier.serra says

Hi. Cordova tries to reinstall again some plugins on prepare phase even if they have been already installed: "Discovered plugin XXX. "...

Thu, 08 Jul 2021 15:18:56 GMT

@xavier.serra says

It seems to have relationship with id name being different from plugin name

Channel #cordova-ios (9 messages)


Thu, 08 Jul 2021 10:39:12 GMT

@jcesarmobile says

Anybody using beta 15 has seen cors issues?

Thu, 08 Jul 2021 10:55:11 GMT

@norman137 says

I know nik has, He's commented on https://bugs.webkit.org/show_bug.cgi?id=226760 which had the issue resolved, but I guess as of developer beta 2, the issue was introduced again.

Thu, 08 Jul 2021 14:16:15 GMT

@jose2013 says

Hi, I’m testing Xcoed-13 Beta + iOS 15, with Cordova-ios 6.1.1 and I’m getting the following error during build:

[cordova] 	CompileSwift normal armv7```
After some digging I’ve found out the following:
```Selected itemPROJECTBuild SettingsExcluded Architecture, Settings release Mode Any iOS SDKThe value is armv7Because iOS14 SDK no longer supports armv7 architecture phones, armv7 needs to be removed.```
~Anyone aware of the issue?~ Might be conflict between stable vs beta version of Xcode, it runs from the Xcode beta…but fail from command line.

Thu, 08 Jul 2021 14:31:04 GMT

@norman137 says

What‘s your minimum deployment target? Cordova technically supports as far back as iOS 11 so I’m not sure how we can simply remove armv7.

Thu, 08 Jul 2021 14:31:26 GMT

@nagendlav says

Hi, i had facing an issue with saving cookies in cordova lib, I see there a function to enable cookies in android but i dont see anything in ios lib. Does anyone has similar experience ?

Thu, 08 Jul 2021 14:33:04 GMT

@norman137 says

I would probably recommend abandoning cookies if possible. I don't think you can reliably trust that cookies will persist, especially on iOS >= 14.5

Thu, 08 Jul 2021 14:35:13 GMT

@nagendlav says

Yea but we were using one common library for iOS and Android, In android its working fine so I can't change the flow in iOS

Thu, 08 Jul 2021 14:39:56 GMT

@jose2013 says

My deployment target is 12. Actually maybe it is some sort of conflict between the 2 versions of Xcode, I’ve tried running from the Xcode Beta without livereload and it worked without any change to project settings.

Fri, 09 Jul 2021 05:53:14 GMT

@harsh.agarwal says

pyp[lp/lPyphy-=hy[]hy[]

Channel #cordova-electron (1 messages)


Thu, 08 Jul 2021 08:46:24 GMT

@chris.dyer says

Anyone know if there is a way to specify browserwindow settings to be loaded up at runtime rather than being compiled in? We currently have our web app load up some registry config from file and then run the appropriate command on the browerwindow object eg

    const posY = registry.getNumber('app', 'y');
    const mainWindow = BrowserWindow.getFocusedWindow();
    mainWindow.setPosition(posX, posY, true);```
but this requires handling each setting explicitly.

We can also set some values in the `settings.json` that we point to in config.xml `ElectronSettingsFilePath`
but this gets hardcoded in.

I would like to be able to just load up a config file with the browserwindow options object directly at runtime