{"id":2311,"date":"2018-08-13T10:21:34","date_gmt":"2018-08-13T10:21:34","guid":{"rendered":"https:\/\/itpathsolutions.com\/?p=2311"},"modified":"2024-02-21T07:21:14","modified_gmt":"2024-02-21T07:21:14","slug":"how-to-setup-phonegapcordova","status":"publish","type":"post","link":"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/","title":{"rendered":"How to Setup Phonegap\/Cordova"},"content":{"rendered":"<ul>\n<li style=\"text-align: justify;\">Cordova is an open-source <strong><a href=\"https:\/\/itpathsolutions.com\/services\/cross-platform-mobile-development\/#phonegap-development\">mobile development framework.<\/a><\/strong> 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&#8217; 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&#8217;s dialect and device set by utilizing Cordova.<\/li>\n<\/ul>\n<ul>\n<li style=\"text-align: justify;\">To install Cordova, the node must be there in your local machine.<\/li>\n<li style=\"text-align: justify;\">To install Cordova, you need to run this command: <strong>npm install \u2013g Cordova<\/strong><\/li>\n<li style=\"text-align: justify;\">Now next step is to create blank Cordova project to your local directory.<\/li>\n<li style=\"text-align: justify;\">To create the blank project you need to run this command: <strong>cordova create &lt;path&gt;<\/strong><\/li>\n<li style=\"text-align: justify;\">It will create the blank project for you and the next step is to add platforms into it.<\/li>\n<li style=\"text-align: justify;\">Cordova application only contains client-side code, there is no server-side code that means javascript is used while developing the application.<\/li>\n<li style=\"text-align: justify;\">Next step is to add platforms into the project, to test application in the browser you must add web platform: <strong>Cordova platform add browser<\/strong><\/li>\n<li style=\"text-align: justify;\">Cordova provides different platforms to allow it run into different devices like android, ios, WebOS, blackberry.<\/li>\n<li style=\"text-align: justify;\">Let\u2019s assume we are adding android and ios platforms into the project, then you must set basic configuration into <strong>XML<\/strong> files like android and ios tag must be there in the config file.<\/li>\n<li style=\"text-align: justify;\">Cordova most important part is <strong>plugins<\/strong><\/li>\n<li style=\"text-align: justify;\">If you want the user to allow to access native functionality access, you must install the plugin and its configuration.<\/li>\n<li style=\"text-align: justify;\">You can install the plugin by this command: <strong>cordova plugin add &lt;plugin name&gt;@version<\/strong> (default latest)<\/li>\n<li style=\"text-align: justify;\">To remove any plugin use this command: <strong>cordova plugin rm &lt;plugin name&gt;<\/strong><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217; local improvement dialect. An engineer can broaden an application crosswise over in excess of one stage, without having to re-execute it with every [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5598,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[75],"tags":[115,116,117],"post_industries":[],"post_technologies":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Setup Phonegap\/Cordova - Top Mobile &amp; Web Application Development Company in USA, UK, Australia &amp; India | IT Path Solutions<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Setup Phonegap\/Cordova - Top Mobile &amp; Web Application Development Company in USA, UK, Australia &amp; India | IT Path Solutions\" \/>\n<meta property=\"og:description\" content=\"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&#8217; local improvement dialect. An engineer can broaden an application crosswise over in excess of one stage, without having to re-execute it with every [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/\" \/>\n<meta property=\"og:site_name\" content=\"Top Mobile &amp; Web Application Development Company in USA, UK, Australia &amp; India | IT Path Solutions\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/itpathsolutions\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-13T10:21:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-21T07:21:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.itpathsolutions.com\/wp-content\/uploads\/2018\/08\/Setup-Phonegap-Cordova.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"itpathsolutions_admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@itpathsolutions\" \/>\n<meta name=\"twitter:site\" content=\"@itpathsolutions\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"itpathsolutions_admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/\"},\"author\":{\"name\":\"itpathsolutions_admin\",\"@id\":\"https:\/\/www.itpathsolutions.com\/#\/schema\/person\/b734d41ce1d0fa39ba87a7e0f6ac9563\"},\"headline\":\"How to Setup Phonegap\/Cordova\",\"datePublished\":\"2018-08-13T10:21:34+00:00\",\"dateModified\":\"2024-02-21T07:21:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/\"},\"wordCount\":293,\"publisher\":{\"@id\":\"https:\/\/www.itpathsolutions.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.itpathsolutions.com\/wp-content\/uploads\/2018\/08\/Setup-Phonegap-Cordova.jpg\",\"keywords\":[\"Cordova\",\"PhoneGap Application Development Companies\",\"PhoneGap Development\"],\"articleSection\":[\"Mobile app development\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/\",\"url\":\"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/\",\"name\":\"How to Setup Phonegap\/Cordova - Top Mobile &amp; Web Application Development Company in USA, UK, Australia &amp; India | IT Path Solutions\",\"isPartOf\":{\"@id\":\"https:\/\/www.itpathsolutions.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.itpathsolutions.com\/wp-content\/uploads\/2018\/08\/Setup-Phonegap-Cordova.jpg\",\"datePublished\":\"2018-08-13T10:21:34+00:00\",\"dateModified\":\"2024-02-21T07:21:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/#primaryimage\",\"url\":\"https:\/\/www.itpathsolutions.com\/wp-content\/uploads\/2018\/08\/Setup-Phonegap-Cordova.jpg\",\"contentUrl\":\"https:\/\/www.itpathsolutions.com\/wp-content\/uploads\/2018\/08\/Setup-Phonegap-Cordova.jpg\",\"width\":1024,\"height\":512,\"caption\":\"Setup Phonegap Cordova\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.itpathsolutions.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Setup Phonegap\/Cordova\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.itpathsolutions.com\/#website\",\"url\":\"https:\/\/www.itpathsolutions.com\/\",\"name\":\"Top Mobile &amp; Web Application Development Company in USA, UK, Australia &amp; India | IT Path Solutions\",\"description\":\"Digitalizing Businesses Globally\",\"publisher\":{\"@id\":\"https:\/\/www.itpathsolutions.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.itpathsolutions.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.itpathsolutions.com\/#organization\",\"name\":\"It Path Solutions\",\"url\":\"https:\/\/www.itpathsolutions.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.itpathsolutions.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/itpathsolutions.com\/wp-content\/uploads\/2020\/05\/logo.png\",\"contentUrl\":\"https:\/\/itpathsolutions.com\/wp-content\/uploads\/2020\/05\/logo.png\",\"width\":167,\"height\":53,\"caption\":\"It Path Solutions\"},\"image\":{\"@id\":\"https:\/\/www.itpathsolutions.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/itpathsolutions\",\"https:\/\/x.com\/itpathsolutions\",\"https:\/\/www.instagram.com\/itpathsolutions\/\",\"https:\/\/www.linkedin.com\/company\/itpathsolutions\",\"https:\/\/www.pinterest.com\/itpathsolutions\/\",\"https:\/\/www.youtube.com\/c\/ITPathSolutions\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.itpathsolutions.com\/#\/schema\/person\/b734d41ce1d0fa39ba87a7e0f6ac9563\",\"name\":\"itpathsolutions_admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.itpathsolutions.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/484a34819e5022e1999acd376af066b2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/484a34819e5022e1999acd376af066b2?s=96&d=mm&r=g\",\"caption\":\"itpathsolutions_admin\"},\"url\":\"https:\/\/www.itpathsolutions.com\/author\/itpathsolutions_admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Setup Phonegap\/Cordova - Top Mobile &amp; Web Application Development Company in USA, UK, Australia &amp; India | IT Path Solutions","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/","og_locale":"en_US","og_type":"article","og_title":"How to Setup Phonegap\/Cordova - Top Mobile &amp; Web Application Development Company in USA, UK, Australia &amp; India | IT Path Solutions","og_description":"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&#8217; local improvement dialect. An engineer can broaden an application crosswise over in excess of one stage, without having to re-execute it with every [&hellip;]","og_url":"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/","og_site_name":"Top Mobile &amp; Web Application Development Company in USA, UK, Australia &amp; India | IT Path Solutions","article_publisher":"https:\/\/www.facebook.com\/itpathsolutions","article_published_time":"2018-08-13T10:21:34+00:00","article_modified_time":"2024-02-21T07:21:14+00:00","og_image":[{"width":1024,"height":512,"url":"https:\/\/www.itpathsolutions.com\/wp-content\/uploads\/2018\/08\/Setup-Phonegap-Cordova.jpg","type":"image\/jpeg"}],"author":"itpathsolutions_admin","twitter_card":"summary_large_image","twitter_creator":"@itpathsolutions","twitter_site":"@itpathsolutions","twitter_misc":{"Written by":"itpathsolutions_admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/#article","isPartOf":{"@id":"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/"},"author":{"name":"itpathsolutions_admin","@id":"https:\/\/www.itpathsolutions.com\/#\/schema\/person\/b734d41ce1d0fa39ba87a7e0f6ac9563"},"headline":"How to Setup Phonegap\/Cordova","datePublished":"2018-08-13T10:21:34+00:00","dateModified":"2024-02-21T07:21:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/"},"wordCount":293,"publisher":{"@id":"https:\/\/www.itpathsolutions.com\/#organization"},"image":{"@id":"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/#primaryimage"},"thumbnailUrl":"https:\/\/www.itpathsolutions.com\/wp-content\/uploads\/2018\/08\/Setup-Phonegap-Cordova.jpg","keywords":["Cordova","PhoneGap Application Development Companies","PhoneGap Development"],"articleSection":["Mobile app development"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/","url":"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/","name":"How to Setup Phonegap\/Cordova - Top Mobile &amp; Web Application Development Company in USA, UK, Australia &amp; India | IT Path Solutions","isPartOf":{"@id":"https:\/\/www.itpathsolutions.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/#primaryimage"},"image":{"@id":"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/#primaryimage"},"thumbnailUrl":"https:\/\/www.itpathsolutions.com\/wp-content\/uploads\/2018\/08\/Setup-Phonegap-Cordova.jpg","datePublished":"2018-08-13T10:21:34+00:00","dateModified":"2024-02-21T07:21:14+00:00","breadcrumb":{"@id":"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/#primaryimage","url":"https:\/\/www.itpathsolutions.com\/wp-content\/uploads\/2018\/08\/Setup-Phonegap-Cordova.jpg","contentUrl":"https:\/\/www.itpathsolutions.com\/wp-content\/uploads\/2018\/08\/Setup-Phonegap-Cordova.jpg","width":1024,"height":512,"caption":"Setup Phonegap Cordova"},{"@type":"BreadcrumbList","@id":"https:\/\/www.itpathsolutions.com\/how-to-setup-phonegapcordova\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.itpathsolutions.com\/"},{"@type":"ListItem","position":2,"name":"How to Setup Phonegap\/Cordova"}]},{"@type":"WebSite","@id":"https:\/\/www.itpathsolutions.com\/#website","url":"https:\/\/www.itpathsolutions.com\/","name":"Top Mobile &amp; Web Application Development Company in USA, UK, Australia &amp; India | IT Path Solutions","description":"Digitalizing Businesses Globally","publisher":{"@id":"https:\/\/www.itpathsolutions.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.itpathsolutions.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.itpathsolutions.com\/#organization","name":"It Path Solutions","url":"https:\/\/www.itpathsolutions.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.itpathsolutions.com\/#\/schema\/logo\/image\/","url":"https:\/\/itpathsolutions.com\/wp-content\/uploads\/2020\/05\/logo.png","contentUrl":"https:\/\/itpathsolutions.com\/wp-content\/uploads\/2020\/05\/logo.png","width":167,"height":53,"caption":"It Path Solutions"},"image":{"@id":"https:\/\/www.itpathsolutions.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/itpathsolutions","https:\/\/x.com\/itpathsolutions","https:\/\/www.instagram.com\/itpathsolutions\/","https:\/\/www.linkedin.com\/company\/itpathsolutions","https:\/\/www.pinterest.com\/itpathsolutions\/","https:\/\/www.youtube.com\/c\/ITPathSolutions"]},{"@type":"Person","@id":"https:\/\/www.itpathsolutions.com\/#\/schema\/person\/b734d41ce1d0fa39ba87a7e0f6ac9563","name":"itpathsolutions_admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.itpathsolutions.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/484a34819e5022e1999acd376af066b2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/484a34819e5022e1999acd376af066b2?s=96&d=mm&r=g","caption":"itpathsolutions_admin"},"url":"https:\/\/www.itpathsolutions.com\/author\/itpathsolutions_admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.itpathsolutions.com\/wp-json\/wp\/v2\/posts\/2311"}],"collection":[{"href":"https:\/\/www.itpathsolutions.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itpathsolutions.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itpathsolutions.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itpathsolutions.com\/wp-json\/wp\/v2\/comments?post=2311"}],"version-history":[{"count":0,"href":"https:\/\/www.itpathsolutions.com\/wp-json\/wp\/v2\/posts\/2311\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itpathsolutions.com\/wp-json\/wp\/v2\/media\/5598"}],"wp:attachment":[{"href":"https:\/\/www.itpathsolutions.com\/wp-json\/wp\/v2\/media?parent=2311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itpathsolutions.com\/wp-json\/wp\/v2\/categories?post=2311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itpathsolutions.com\/wp-json\/wp\/v2\/tags?post=2311"},{"taxonomy":"post_industries","embeddable":true,"href":"https:\/\/www.itpathsolutions.com\/wp-json\/wp\/v2\/post_industries?post=2311"},{"taxonomy":"post_technologies","embeddable":true,"href":"https:\/\/www.itpathsolutions.com\/wp-json\/wp\/v2\/post_technologies?post=2311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}