Softwr

Mobile Development · head to head

Apache Cordova vs Firestore

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
Firestore logo

Firestore

Databases

Flexible, scalable NoSQL cloud database from Firebase

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Apache Cordova lists HTML, CSS and JavaScript app code; only Firestore lists document Model.
  • Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
  • Where Firestore falls short: the no-cost Spark plan caps Standard edition at 50,000 document reads, 20,000 writes and 20,000 deletes per day.

How do Apache Cordova and Firestore differ?

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

Attributes where Apache Cordova and Firestore differ
AttributeApache CordovaFirestore
Pricing modelOpen-sourceFreemium
PlatformsiOS, Android, Windows, macOS, LinuxWeb, iOS, Android, Flutter
CategoryMobile DevelopmentDatabases
Founded20082011

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 16 only for Firestore. 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 Firestore

  • Document Model
  • Real-time Updates
  • Offline Support
  • ACID Transactions
  • Expressive Queries
  • Multi-region
  • Security Rules
  • Firebase Auth

What is each one used for?

Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; Firestore for storing structured application data with realtime listeners. The jobs each tool is most often brought in to do.

Apache Cordova

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

Firestore

  • Storing structured application data with realtime listenersnot Apache Cordova
  • Backing mobile and web apps with a serverless document databasenot Apache Cordova
  • Building offline first apps that sync when connectivity returnsnot Apache Cordova

Where do Apache Cordova and Firestore fall short?

Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. Firestore's: the no-cost Spark plan caps Standard edition at 50,000 document reads, 20,000 writes and 20,000 deletes per day. 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

Firestore

  • The no-cost Spark plan caps Standard edition at 50,000 document reads, 20,000 writes and 20,000 deletes per day
  • The Spark plan caps storage at 1 GiB and network egress at 10 GiB per month
  • Charging is per document read, so a query returning many documents bills for every one of them
  • Going beyond the free thresholds requires the pay as you go Blaze plan billed at Google Cloud rates with no fixed monthly ceiling

How much do Apache Cordova and Firestore cost?

Apache Cordova is free to use; Firestore 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.

Firestore

Free
  • SparkFree
    • 1GB storage
    • 50K reads/day
    • 20K writes/day
  • BlazeFree
    • Pay as you go
    • Unlimited operations
    • Multi-region

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 Firestore if

  • You need document model.
  • You want to start without paying.
  • You work on Web, iOS, Android, Flutter.
  • You also want real-time updates.

Questions people ask

Is Apache Cordova or Firestore better?
It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; Firestore fits storing structured application data with realtime listeners. Apache Cordova starts at Free and Firestore at Free.
Which is cheaper, Apache Cordova or Firestore?
Apache Cordova starts at Free and Firestore at Free.
Does Apache Cordova or Firestore run on more platforms?
Apache Cordova runs on iOS, Android, Windows, macOS, Linux. Firestore runs on Web, iOS, Android, Flutter.
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 Firestore is typically brought in for.
What can Apache Cordova do that Firestore 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. Firestore covers Document Model, Real-time Updates, Offline Support, ACID Transactions.

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
Firestore: What are the free limits on Cloud Firestore?

The Spark Plan includes 1 GiB of stored data, 50,000 reads per day, 20,000 writes per day, and 20,000 deletes per day at no cost.

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
Firestore: What happens when I exceed the Spark Plan free tier?

Exceeding the free tier requires upgrading to the Blaze Plan, which bills based on actual usage through Google Cloud pricing. Charges apply for reads, writes, deletes, and data storage.

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
Firestore: Can I use Firestore without a credit card?

Yes, you can use the Spark Plan indefinitely without a credit card. To use the Blaze Plan (pay-as-you-go), a credit card is required.

Source
Firestore: Is there a trial period for Cloud Firestore?

No trial period is specified. The Spark Plan free tier serves as the trial, with no time limit.

Source
Share

Related pages

Other head to heads