Mobile Development · head to head
Apache Cordova vs Google Cloud Spanner

Apache Cordova
Mobile Development
Open source framework for wrapping HTML, CSS and JavaScript apps as mobile apps
- From
- Free
- Free plan
- Yes

Google Cloud Spanner
Databases
Globally distributed relational database with strong consistency and up to 99.999% availability
- From
- Free
- Free plan
- Yes
The short version
- Both are free.
- Only Apache Cordova lists targets iOS, Android and Electron; only Google Cloud Spanner lists strong global consistency.
- Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
- Where Google Cloud Spanner falls short: pricing has compute, storage, replication and network components.
How do Apache Cordova and Google Cloud Spanner differ?
Apache Cordova and Google Cloud Spanner differ on pricing model (Open-source against Usage-based), platforms and category (Mobile Development against Databases). Only the attributes on which Apache Cordova and Google Cloud Spanner actually diverge.
| Attribute | Apache Cordova | Google Cloud Spanner |
|---|---|---|
| Pricing model | Open-source | Usage-based |
| Platforms | iOS, Android, Windows, macOS, Linux | Web |
| Category | Mobile Development | Databases |
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: founded for Google Cloud Spanner.
Which features does each one have?
They share no listed features; 6 appear only for Apache Cordova and 9 only for Google Cloud Spanner. 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 Google Cloud Spanner
- Strong global consistency
- Automatic sharding
- Single, dual and multi-region configurations
- Spanner Graph
- Vector and full-text search
- Columnar engine for analytics
- BigQuery federated queries
- Spanner Omni
What is each one used for?
Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; Google Cloud Spanner for global transactional systems. The jobs each tool is most often brought in to do.
Apache Cordova
- Wrapping an existing web app as a mobile appnot Google Cloud Spanner
- Single codebase for iOS and Androidnot Google Cloud Spanner
- Prototyping mobile apps with web skillsnot Google Cloud Spanner
- Accessing device features from JavaScript through pluginsnot Google Cloud Spanner
Google Cloud Spanner
- Global transactional systemsnot Apache Cordova
- Mission-critical apps needing 99.999% availabilitynot Apache Cordova
- Applications needing relational plus graph and vectornot Apache Cordova
- Real-time analytics on operational datanot Apache Cordova
- Scaling beyond a single database servernot Apache Cordova
Where do Apache Cordova and Google Cloud Spanner fall short?
Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. Google Cloud Spanner's: pricing has compute, storage, replication and network components. 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
Google Cloud Spanner
- Pricing has compute, storage, replication and network components
- Cost is high for small or single-region workloads
- Tied to Google Cloud outside the Omni option
- Schema and query patterns differ from standard PostgreSQL deployments
How much do Apache Cordova and Google Cloud Spanner cost?
Apache Cordova is free to use; Google Cloud Spanner is free to use. Plan by plan below, from each vendor's own pricing page.
Apache Cordova
FreeNo published plan breakdown. See the Apache Cordova review.
Google Cloud Spanner
FreeNo published plan breakdown. See the Google Cloud Spanner review.
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 Google Cloud Spanner if
- You need strong global consistency.
- You want to start without paying.
- You also want automatic sharding.
Questions people ask
- Is Apache Cordova or Google Cloud Spanner better?
- It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; Google Cloud Spanner fits global transactional systems. Apache Cordova starts at Free and Google Cloud Spanner at Free.
- Which is cheaper, Apache Cordova or Google Cloud Spanner?
- Apache Cordova starts at Free and Google Cloud Spanner at Free.
- Does Apache Cordova or Google Cloud Spanner run on more platforms?
- Apache Cordova runs on iOS, Android, Windows, macOS, Linux. Google Cloud Spanner runs on Web.
- 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 Google Cloud Spanner is typically brought in for.
- What can Apache Cordova do that Google Cloud Spanner 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. Google Cloud Spanner covers Strong global consistency, Automatic sharding, Single, dual and multi-region configurations, Spanner Graph.
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.
SourceGoogle Cloud Spanner: Is there a free trial?
Yes, a free trial instance lasts 90 days with up to 10 GiB of data.
SourceApache 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.
SourceGoogle Cloud Spanner: What availability does Spanner offer?
Up to 99.999% availability, depending on configuration.
SourceApache 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.
SourceGoogle Cloud Spanner: How is Spanner billed?
By hourly compute by edition, plus storage and replication, with committed use discounts of one and three years.
SourceGoogle Cloud Spanner: Can Spanner run outside Google Cloud?
Spanner Omni is a downloadable version for on-premises, other clouds or a laptop.
SourceRelated pages
More on Apache Cordova
More on Google Cloud Spanner
Other head to heads
- Apache Cordova vs React Native
- Apache Cordova vs Ionic
- Apache Cordova vs Flutter
- Apache Cordova vs NativeScript
- Apache Cordova vs Xcode
- Apache Cordova vs Sencha
- Apache Cordova vs Kotlin Multiplatform
- Apache Cordova vs Maestro
- Apache Cordova vs Bitrise
- Apache Cordova vs Codemagic
- Apache Cordova vs .NET MAUI
- Apache Cordova vs EAS Build
- Apache Cordova vs Appcircle
- Apache Cordova vs OneSignal
- Apache Cordova vs Capacitor
- Apache Cordova vs Firebase
- Apache Cordova vs Expo
- Apache Cordova vs Android Studio
- Apache Cordova vs Azure Cosmos DB
- Apache Cordova vs CockroachDB
- Apache Cordova vs Amazon Aurora
- Apache Cordova vs TiDB
- Apache Cordova vs YugabyteDB
- Apache Cordova vs Aerospike
- Apache Cordova vs PostgreSQL
- Apache Cordova vs ArangoDB
- Apache Cordova vs Cassandra
- Apache Cordova vs MariaDB
- Apache Cordova vs Milvus
- Apache Cordova vs MongoDB
- Apache Cordova vs DataGrip
- Apache Cordova vs Dremio
- Apache Cordova vs EMQX
- Apache Cordova vs Firebolt
- Apache Cordova vs Azure SQL
- Apache Cordova vs CouchDB
- Google Cloud Spanner vs React Native
- Google Cloud Spanner vs Ionic
- Google Cloud Spanner vs Flutter
- Google Cloud Spanner vs NativeScript
- Google Cloud Spanner vs Xcode
- Google Cloud Spanner vs Sencha
- Google Cloud Spanner vs Kotlin Multiplatform
- Google Cloud Spanner vs Maestro
- Google Cloud Spanner vs Bitrise
- Google Cloud Spanner vs Codemagic
- Google Cloud Spanner vs .NET MAUI
- Google Cloud Spanner vs EAS Build
- Google Cloud Spanner vs Appcircle
- Google Cloud Spanner vs OneSignal
- Google Cloud Spanner vs Capacitor
- Google Cloud Spanner vs Firebase
- Google Cloud Spanner vs Expo
- Google Cloud Spanner vs Android Studio
- Google Cloud Spanner vs Azure Cosmos DB
- Google Cloud Spanner vs CockroachDB
- Google Cloud Spanner vs Amazon Aurora
- Google Cloud Spanner vs TiDB
- Google Cloud Spanner vs YugabyteDB
- Google Cloud Spanner vs Aerospike
- Google Cloud Spanner vs PostgreSQL
- Google Cloud Spanner vs ArangoDB
- Google Cloud Spanner vs Cassandra
- Google Cloud Spanner vs MariaDB
- Google Cloud Spanner vs Milvus
- Google Cloud Spanner vs MongoDB
- Google Cloud Spanner vs DataGrip
- Google Cloud Spanner vs Dremio
- Google Cloud Spanner vs EMQX
- Google Cloud Spanner vs Firebolt
- Google Cloud Spanner vs Azure SQL
- Google Cloud Spanner vs CouchDB
