How to Setup Phonegap/Cordova
Keyur Patel
September 12, 2025
2 min
- Cordova is an open-source mobile development framework. It enables you to utilize standard web innovations, for example, HTML5, CSS3, and JavaScript for cross-stage advancement maintaining a strategic distance from every portable stages’ local improvement dialect. An engineer can broaden an application crosswise over in excess of one stage, without having to re-execute it with every stage’s dialect and device set by utilizing Cordova.
- To install Cordova, the node must be there in your local machine.
- To install Cordova, you need to run this command: npm install –g Cordova
- Now next step is to create blank Cordova project to your local directory.
- To create the blank project you need to run this command: cordova create <path>
- It will create the blank project for you and the next step is to add platforms into it.
- Cordova application only contains client-side code, there is no server-side code that means javascript is used while developing the application.
- Next step is to add platforms into the project, to test application in the browser you must add web platform: Cordova platform add browser
- Cordova provides different platforms to allow it run into different devices like android, ios, WebOS, blackberry.
- Let’s assume we are adding android and ios platforms into the project, then you must set basic configuration into XML files like android and ios tag must be there in the config file.
- Cordova most important part is plugins
- If you want the user to allow to access native functionality access, you must install the plugin and its configuration.
- You can install the plugin by this command: cordova plugin add <plugin name>@version (default latest)
- To remove any plugin use this command: cordova plugin rm <plugin name>

Keyur Patel
Co-Founder
Keyur Patel is the director at IT Path Solutions, where he helps businesses develop scalable applications. With his extensive experience and visionary approach, he leads the team to create futuristic solutions. Keyur Patel has exceptional leadership skills and technical expertise in Node.js, .Net, React.js, AI/ML, and PHP frameworks. His dedication to driving digital transformation makes him an invaluable asset to the company.
Related Blog Posts

Essential Features every Scalable Mobile App must have in 2026
Let’s start with a situation most product leaders recognize. It is early 2026. Your mobile app has finally found traction. Daily active users are climbing. Marketing campaigns are working. Investors are optimistic. Then something breaks. Screens take too long to load. This happens during peak hours. A payment fails silently. A security audit flags basic… Essential Features every Scalable Mobile App must have in 2026

How to choose the right Mobile App Development Partner for your Business Growth
Let’s start with a story that haunts the IT industry. A well-funded logistics company decided they needed a custom mobile app to track their fleet. They did what most companies do: they Googled mobile app development company, sent out a generic Request for Proposal (RFP) to the top five results, and picked the one with… How to choose the right Mobile App Development Partner for your Business Growth

November 1st Is NOT The Real Deadline For Android 15. Here’s What You’re Missing
Imagine waking up one morning and discovering your Android app is invisible to millions of users on the Google Play Store. No installs, no updates, no revenue. Sounds terrifying, right? It is not a science fiction plot; it is the looming reality many businesses and developers could face in November 2025 if they neglect the… November 1st Is NOT The Real Deadline For Android 15. Here’s What You’re Missing
