Cordova Slack Digest

Sat, 16 Oct 2021 08:20:56 GMT

User count: 4655

Join the conversation at slack.cordova.io

Channel #general (23 messages)


Fri, 15 Oct 2021 10:46:10 GMT

@lkslokesh25 says

Hey, How to run my Cordova app from local server it's not working when I tried l..

Fri, 15 Oct 2021 12:53:26 GMT

@norman137 says

@lkslokesh25 there is no server for the android or electron platform, as the sources are bundled locally with the app. The browser platform does provide a test server because traditional browser environments are expected to be communicating with a web server for all of it's assets.

Fri, 15 Oct 2021 17:44:58 GMT

@jacobsgur says

https://devblogs.microsoft.com/appcenter/announcing-apache-cordova-retirement/ Does this announcement have any impact on the future of Cordova development itself?

Fri, 15 Oct 2021 17:45:57 GMT

@jacobsgur says

Fri, 15 Oct 2021 17:46:39 GMT

@dpogue says

No, Cordova is its own project under the Apache Software Foundation

Fri, 15 Oct 2021 17:48:37 GMT

@jacobsgur says

@dpogue Thanks. I’m very happy with Cordova overall, and have a lot invested in my existing Cordova app. I can understand why developers would start new apps with React Native.

Fri, 15 Oct 2021 17:48:39 GMT

@dpogue says

That blog post is ambiguously titled 😕

Fri, 15 Oct 2021 17:48:55 GMT

@dpogue says

Microsoft is dropping support for Cordova projects in their AppCenter platform

Fri, 15 Oct 2021 18:05:43 GMT

@jacobsgur says

Right. I removed Code Push from my app in early 2021, because Microsoft had been neglecting it for a while. It was clear they weren’t interested in this platform.

Fri, 15 Oct 2021 18:09:24 GMT

@dpogue says

yeah, CodePush was pretty unmaintained and had a major security flaw for a while 😕

Fri, 15 Oct 2021 18:21:22 GMT

@jacobsgur says

Any thoughts on Capacitor in contrast to Cordova? Are people here all using pure Cordova?

Fri, 15 Oct 2021 18:22:56 GMT

@dpogue says

I've used both, I see them as two slightly different approaches to a similar end result

Fri, 15 Oct 2021 18:24:10 GMT

@dpogue says

Cordova should be used as a packaging tool: It generates native projects as build artifacts, but those are meant to be blown away

Fri, 15 Oct 2021 18:24:34 GMT

@dpogue says

Capacitor treats the native projects as part of your project, so it allows for easier native dev integration

Fri, 15 Oct 2021 18:25:29 GMT

@jacobsgur says

I had thought Cordova’s disposable native projects makes upgrades easier? It hides the complexity of upgrading native sdks. Am I misunderstanding?

Fri, 15 Oct 2021 18:26:00 GMT

@jacobsgur says

at the expense of waiting for Cordova to support SDK changes.

Fri, 15 Oct 2021 18:28:47 GMT

@dpogue says

to some extent, yeah... although typically there aren't massive changes needed for upgrading

Fri, 15 Oct 2021 18:29:33 GMT

@dpogue says

(and I should add a disclaimer that this is my opinion, and lots of people have differing views :P)

Fri, 15 Oct 2021 18:43:32 GMT

@jacobsgur says

Well, an example of the waiting, is that Arctic Fox is not yet supported? I guess what you’re saying is that Capacitor doesn’t care what Android Studio or SDK version you use?

Fri, 15 Oct 2021 18:48:16 GMT

@dpogue says

As far as I know, projects from both Cordova and Capacitor should be able to opened in latest versions of Android Studio. You might have to use the build tools for a specific SDK version, but that's a slightly different issue

Fri, 15 Oct 2021 18:49:20 GMT

@jacobsgur says

Ok, thanks. I haven’t tried. Just starting to look at updating my mobile app for the first time in 6 months.

Fri, 15 Oct 2021 21:32:07 GMT

@jcesarmobile says

In Cordova you shouldn’t care about the android studio version since you build from the cli, and capacitor should work on latest version (and some previous versions too)

Fri, 15 Oct 2021 22:04:20 GMT

@mathewp.94 says

Is anyone aware of alternatives to codepush? Or alternative ways to distribute app binaries? Sharing APKs is easy enough but .ipa files can't install onto devices directly right?