Softwr

Mobile Development · head to head

Apache Cordova vs Lighthouse

Apache Cordova logo

Apache Cordova

Mobile Development

Open source framework for wrapping HTML, CSS and JavaScript apps as mobile apps

From
Free
Free plan
Yes
Lighthouse logo

Lighthouse

Web Development

Audit web page performance and quality

From
Free
Free plan
Yes

The short version

  • Lighthouse is an open-source tool.
  • Both are free.
  • Only Apache Cordova lists targets iOS, Android and Electron; only Lighthouse lists performance scoring.
  • Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
  • Where Lighthouse falls short: performance scores vary significantly due to A/B testing, device differences, browser extensions, and antivirus software affecting results.

How do Apache Cordova and Lighthouse differ?

Apache Cordova and Lighthouse differ on pricing model (Open-source against Free), platforms and category (Mobile Development against Web Development). Only the attributes on which Apache Cordova and Lighthouse actually diverge.

Attributes where Apache Cordova and Lighthouse differ
AttributeApache CordovaLighthouse
Pricing modelOpen-sourceFree
PlatformsiOS, Android, Windows, macOS, LinuxBrowser extension
CategoryMobile DevelopmentWeb Development
Founded20081998

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 6 appear only for Apache Cordova and 6 only for Lighthouse. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Apache Cordova

  • Single JavaScript API for device functions
  • Plugin system managed from the command line
  • Targets iOS, Android and Electron
  • HTML, CSS and JavaScript app code
  • Apache 2.0 open source licence
  • Platform feature support documentation

Only in Lighthouse

  • Performance scoring
  • Accessibility audit
  • SEO check
  • PWA validation
  • Chrome support
  • Edge support

What is each one used for?

Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; Lighthouse for performance auditing to identify page loading speed improvements. The jobs each tool is most often brought in to do.

Apache Cordova

  • Wrapping an existing web app as a mobile appnot Lighthouse
  • Single codebase for iOS and Androidnot Lighthouse
  • Prototyping mobile apps with web skillsnot Lighthouse
  • Accessing device features from JavaScript through pluginsnot Lighthouse

Lighthouse

  • Performance auditing to identify page loading speed improvementsnot Apache Cordova
  • Accessibility compliance checking for users with disabilitiesnot Apache Cordova
  • SEO optimization verification for search engine compatibilitynot Apache Cordova
  • Security and best practices scanning for code healthnot Apache Cordova
  • Progressive web app validation and CI/CD pipeline integrationnot Apache Cordova

Where do Apache Cordova and Lighthouse fall short?

Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. Lighthouse's: limited to metrics that contribute to scores; Opportunities and Diagnostics don't directly impact scoring. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Apache Cordova

  • Apps render in a web view, so UI is not native by default
  • No built-in UI component library or hosted build service
  • Adobe's PhoneGap Build cloud service was discontinued in 2020
  • Many platforms listed in older versions, such as BlackBerry and Tizen, are no longer supported

Lighthouse

  • Performance scores vary significantly due to A/B testing, device differences, browser extensions, and antivirus software affecting results
  • Limited to metrics that contribute to scores; Opportunities and Diagnostics don't directly impact scoring
  • Diminishing returns above 0.96 score, making perfect 100 scores extremely challenging
  • Scores based on HTTP Archive data which may not reflect all performance scenarios

How much do Apache Cordova and Lighthouse cost?

Apache Cordova is free to use; Lighthouse is free to use. Plan by plan below, from each vendor's own pricing page.

Apache Cordova

Free

No published plan breakdown. See the Apache Cordova review.

Lighthouse

Free
  • FreeFree
    • Performance audit
    • Accessibility check
    • SEO analysis

Which should you pick?

Choose Apache Cordova if

  • You need single javascript api for device functions.
  • You want to start without paying.
  • You work on iOS, Android, Windows, macOS, Linux.
  • You also want plugin system managed from the command line.

Choose Lighthouse if

  • You need performance scoring.
  • You want to start without paying.
  • You work on Browser extension.
  • You also want accessibility audit.

Questions people ask

Is Apache Cordova or Lighthouse better?
It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; Lighthouse fits performance auditing to identify page loading speed improvements. Apache Cordova starts at Free and Lighthouse at Free.
Which is cheaper, Apache Cordova or Lighthouse?
Apache Cordova starts at Free and Lighthouse at Free.
Does Apache Cordova or Lighthouse run on more platforms?
Apache Cordova runs on iOS, Android, Windows, macOS, Linux. Lighthouse runs on Browser extension.
Can I use Apache Cordova for free?
Both have a free tier, so you can try either at no cost before committing.
What is Apache Cordova best used for?
Apache Cordova is most often used for wrapping an existing web app as a mobile app, single codebase for ios and android, prototyping mobile apps with web skills, accessing device features from javascript through plugins. Of those, wrapping an existing web app as a mobile app and single codebase for ios and android are not what Lighthouse is typically brought in for.
What can Apache Cordova do that Lighthouse cannot?
Apache Cordova covers Single JavaScript API for device functions, Plugin system managed from the command line, Targets iOS, Android and Electron, HTML, CSS and JavaScript app code. Lighthouse covers Performance scoring, Accessibility audit, SEO check, PWA validation.

Answered from the vendors’ own pages

Apache Cordova: Is Apache Cordova free?

Yes. The project describes itself as free and open source under the Apache License 2.0, maintained by the Apache Software Foundation.

Source
Lighthouse: Is Lighthouse free?

Yes. Lighthouse is completely free and open-source. It is developed by Google and integrated into Chrome DevTools, PageSpeed Insights, and available as a command-line tool. There are no licensing fees or premium tiers.

Source
Apache Cordova: How is Cordova related to PhoneGap?

Nitobi Software developed PhoneGap in 2008 and Adobe acquired Nitobi in October 2011. The code was contributed to Apache and renamed Cordova.

Source
Lighthouse: Can I run Lighthouse offline?

Yes. Lighthouse can run offline in multiple ways: through Chrome DevTools (built into Chrome), as a command-line tool (Node.js), or as a Node.js module integrated into your build process. You do not need an internet connection after installing the tool.

Source
Apache Cordova: Which platforms does Cordova support?

As of version 11, iOS, Android, Windows 8.1, Windows Phone 8.1, Windows 10 and Electron are listed on Wikipedia. The project site has a page of per-platform feature support.

Source
Lighthouse: What pages can Lighthouse audit?

Lighthouse can audit any web page, including pages that require authentication. This is an advantage over some alternative tools that cannot test behind login screens. You can run audits on public pages or authenticated pages via command-line with custom headers.

Source
Lighthouse: Can Lighthouse prevent performance regression during development?

Yes. Lighthouse CI is available to prevent performance degradation during development cycles. You can integrate Lighthouse CI into your continuous integration pipeline to automatically audit pages on every commit and fail builds if performance metrics fall below thresholds you define.

Source
Share

Related pages

Other head to heads