Mobile Development · head to head
Apache Cordova vs PubNub

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

PubNub
APIs
Realtime communication platform for chat, IoT, and live data apps
- From
- Free
- Free plan
- Yes
The short version
- Apache Cordova is free; PubNub starts at $98/mo.
- Only Apache Cordova lists targets iOS, Android and Electron; only PubNub lists pub/sub messaging.
- Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
- Where PubNub falls short: free plan storage history is limited to 7 days, which is short for apps needing longer message retention.
How do Apache Cordova and PubNub differ?
Apache Cordova and PubNub differ on pricing model (Open-source against Freemium), platforms and category (Mobile Development against APIs). Only the attributes on which Apache Cordova and PubNub actually diverge.
| Attribute | Apache Cordova | PubNub |
|---|---|---|
| Pricing model | Open-source | Freemium |
| Platforms | iOS, Android, Windows, macOS, Linux | Web, iOS, Android, API |
| Category | Mobile Development | APIs |
| Founded | 2008 | 2010 |
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 PubNub. 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 PubNub
- Pub/sub messaging
- Presence tracking
- Message persistence
- Serverless Functions
- File sharing
- Encryption and access controls
What is each one used for?
Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; PubNub for building realtime chat applications. The jobs each tool is most often brought in to do.
Apache Cordova
- Wrapping an existing web app as a mobile appnot PubNub
- Single codebase for iOS and Androidnot PubNub
- Prototyping mobile apps with web skillsnot PubNub
- Accessing device features from JavaScript through pluginsnot PubNub
PubNub
- Building realtime chat applicationsnot Apache Cordova
- Streaming live IoT sensor datanot Apache Cordova
- Adding presence indicators to collaborative appsnot Apache Cordova
- Running edge logic with serverless Functions on realtime eventsnot Apache Cordova
Where do Apache Cordova and PubNub fall short?
Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. PubNub's: free plan storage history is limited to 7 days, which is short for apps needing longer message retention. 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
PubNub
- Free plan storage history is limited to 7 days, which is short for apps needing longer message retention
- MAU-based pricing means costs scale directly with user growth, which can be less predictable than flat message-based pricing
- Pro-tier custom pricing above 50,000 MAU requires contacting sales rather than self-serve checkout
How much do Apache Cordova and PubNub cost?
Apache Cordova is free to use; PubNub has a free plan, with paid plans from $98/mo. Plan by plan below, from each vendor's own pricing page.
Apache Cordova
FreeNo published plan breakdown. See the Apache Cordova review.
PubNub
Free- FreeFree
- Up to 200 MAU or 1M transactions
- 1GB data storage (7 days)
- 5 test Serverless Functions
- Starter$98/mo
- 1,000 MAU included
- User management
- Insights
- ProOn request
- Custom MAU packages
- Volume discounts
- Enterprise-scale configurations
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 PubNub if
- You need pub/sub messaging.
- You want to start without paying.
- You work on Web, iOS, Android, API.
- You also want presence tracking.
Questions people ask
- Is Apache Cordova or PubNub better?
- It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; PubNub fits building realtime chat applications. Apache Cordova starts at Free and PubNub at Free.
- Which is cheaper, Apache Cordova or PubNub?
- Apache Cordova starts at Free and PubNub at Free.
- Does Apache Cordova or PubNub run on more platforms?
- Apache Cordova runs on iOS, Android, Windows, macOS, Linux. PubNub runs on Web, iOS, Android, API.
- 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 PubNub is typically brought in for.
- What can Apache Cordova do that PubNub 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. PubNub covers Pub/sub messaging, Presence tracking, Message persistence, Serverless Functions.
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.
SourcePubNub: What does PubNub cost?
PubNub offers a free plan for up to 200 MAU or 1 million transactions, a Starter plan at $98/month for 1,000 MAU, and custom Pro pricing for larger volumes, e.g. around $550/month for 10,000 MAU.
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.
SourcePubNub: Is there a free plan, and what are its limits?
Yes, the free plan supports up to 200 monthly active users or 1 million transactions, includes 1GB of data storage retained for 7 days, and requires no credit card.
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.
SourcePubNub: How is usage metered?
PubNub bills primarily by Monthly Active Users, defined as a unique user who connects at least once in a billing cycle; messages are bundled into MAU pricing with no separate per-message fees, and overage is billed proportionally.
SourceRelated pages
More on Apache Cordova
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 Pusher
- Apache Cordova vs Ably
- Apache Cordova vs Liveblocks
- Apache Cordova vs Novu
- Apache Cordova vs Courier
- Apache Cordova vs Svix
- Apache Cordova vs Yapily
- Apache Cordova vs Lithic
- Apache Cordova vs MX Technologies
- Apache Cordova vs Increase
- Apache Cordova vs Solaris
- Apache Cordova vs Token.io
- Apache Cordova vs Appwrite
- Apache Cordova vs Bruno
- Apache Cordova vs Marqeta
- Apache Cordova vs Temenos Transact
- Apache Cordova vs Apidog
- Apache Cordova vs Microsoft Azure API Management
- PubNub vs React Native
- PubNub vs Ionic
- PubNub vs Flutter
- PubNub vs NativeScript
- PubNub vs Xcode
- PubNub vs Sencha
- PubNub vs Kotlin Multiplatform
- PubNub vs Maestro
- PubNub vs Bitrise
- PubNub vs Codemagic
- PubNub vs .NET MAUI
- PubNub vs EAS Build
- PubNub vs Appcircle
- PubNub vs OneSignal
- PubNub vs Capacitor
- PubNub vs Firebase
- PubNub vs Expo
- PubNub vs Android Studio
- PubNub vs Pusher
- PubNub vs Ably
- PubNub vs Liveblocks
- PubNub vs Novu
- PubNub vs Courier
- PubNub vs Svix
- PubNub vs Yapily
- PubNub vs Lithic
- PubNub vs MX Technologies
- PubNub vs Increase
- PubNub vs Solaris
- PubNub vs Token.io
- PubNub vs Appwrite
- PubNub vs Bruno
- PubNub vs Marqeta
- PubNub vs Temenos Transact
- PubNub vs Apidog
- PubNub vs Microsoft Azure API Management
