{"action":"created","comment":{"url":"https://api.github.com/repos/auth0/blog/pulls/comments/46893893","id":46893893,"diff_hunk":"@@ -0,0 +1,315 @@\n+---\n+layout: post\n+title: \"Converting your web app to a multiplatform mobile app using Apache Cordova\"\n+description: How you can effortlessly create your multiplatform application from a web application\n+date: 2015-12-04 19:15\n+author: \n+  name: Diego Poza\n+  url: https://twitter.com/diegopoza\n+  avatar: https://avatars3.githubusercontent.com/u/604869?v=3&s=200\n+  mail: diego.poza@auth0.com\n+design: \n+  bg_color: \"#2C3946\"\n+  image: https://cdn.auth0.com/blog/converting-your-app-to-mobile/logo.png\n+tags: \n+- web apps\n+- mobile apps\n+- apache cordova\n+- cordova\n+---\n+\n+Mobile application is one of the fastest growing category of mobility market today. If you already have a web application up and running and want to get on board with this trend, you can do it very quickly using Apache Cordova.\n+The promise of Cordova development is quite charming, you can use your existing HTML + JavaScript + CSS application to build cross-platform mobile applications for iOS, Android, Windows Phone, and other platforms.\n+\n+## What is Apache Cordova?\n+\n+[Apache Cordova](https://cordova.apache.org/) is a free and open source platform for building native mobile applications using HTML, CSS, and JavaScript. This is, you will target multiple platforms with just one codebase.\n+\n+Basically, Cordova is a wrapper, an application that has an embeeded web browser where your web app is loaded.\n+\n+ > **Note:** There is some confusion between Cordova & PhoneGap. Let's clarify this: Cordova, is owned and maintained by Apache, and will always be maintained as an open source project. On the other hand, PhoneGap is a distribution of Cordova owned by Adobe which includes additional build services thay may not be free. Currently they both have a very similar API. Unless you need one of the additional build services that Phonegap provides, you should go with Cordova.\n+ \n+## Installing and setting up Apache Cordova\n+\n+Before installing and running anything related to Cordova, you will need to install the SDK for each platform that you intend to build your application for. In this post we will focus on iOS and Android, nevertheless the process involving other platforms is quite similar.\n+\n+You will need a Mac computer with XCode to specify iOS as the target platform, and the Android SDK to target the Android platform.\n+\n+> For instructions on downloading and configuring the Android SDK go to the [Official Android SDK installation documentation](http://developer.android.com/sdk/installing/index.html).\n+\n+First, install cordova command-line by running the following command:","path":"_posts/2015-12-04-converting-your-web-app-to-mobile.markdown","position":40,"original_position":40,"commit_id":"3d9f02718ca08a1c08b1380fc9b6df59a783d5b7","original_commit_id":"3d9f02718ca08a1c08b1380fc9b6df59a783d5b7","user":{"login":"chenkie","id":1847678,"avatar_url":"https://avatars.githubusercontent.com/u/1847678?v=3","gravatar_id":"","url":"https://api.github.com/users/chenkie","html_url":"https://github.com/chenkie","followers_url":"https://api.github.com/users/chenkie/followers","following_url":"https://api.github.com/users/chenkie/following{/other_user}","gists_url":"https://api.github.com/users/chenkie/gists{/gist_id}","starred_url":"https://api.github.com/users/chenkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenkie/subscriptions","organizations_url":"https://api.github.com/users/chenkie/orgs","repos_url":"https://api.github.com/users/chenkie/repos","events_url":"https://api.github.com/users/chenkie/events{/privacy}","received_events_url":"https://api.github.com/users/chenkie/received_events","type":"User","site_admin":false},"body":"command-line utility","created_at":"2015-12-07T23:20:30Z","updated_at":"2015-12-07T23:20:30Z","html_url":"https://github.com/auth0/blog/pull/152#discussion_r46893893","pull_request_url":"https://api.github.com/repos/auth0/blog/pulls/152","_links":{"self":{"href":"https://api.github.com/repos/auth0/blog/pulls/comments/46893893"},"html":{"href":"https://github.com/auth0/blog/pull/152#discussion_r46893893"},"pull_request":{"href":"https://api.github.com/repos/auth0/blog/pulls/152"}}},"pull_request":{"url":"https://api.github.com/repos/auth0/blog/pulls/152","id":52915189,"html_url":"https://github.com/auth0/blog/pull/152","diff_url":"https://github.com/auth0/blog/pull/152.diff","patch_url":"https://github.com/auth0/blog/pull/152.patch","issue_url":"https://api.github.com/repos/auth0/blog/issues/152","number":152,"state":"open","locked":false,"title":"Converting webapp to mobile","user":{"login":"diegopoza","id":604869,"avatar_url":"https://avatars.githubusercontent.com/u/604869?v=3","gravatar_id":"","url":"https://api.github.com/users/diegopoza","html_url":"https://github.com/diegopoza","followers_url":"https://api.github.com/users/diegopoza/followers","following_url":"https://api.github.com/users/diegopoza/following{/other_user}","gists_url":"https://api.github.com/users/diegopoza/gists{/gist_id}","starred_url":"https://api.github.com/users/diegopoza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegopoza/subscriptions","organizations_url":"https://api.github.com/users/diegopoza/orgs","repos_url":"https://api.github.com/users/diegopoza/repos","events_url":"https://api.github.com/users/diegopoza/events{/privacy}","received_events_url":"https://api.github.com/users/diegopoza/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-07T23:08:17Z","updated_at":"2015-12-07T23:20:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a99a2a469bfb0bed2ce2b97987c2adf7373f41c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/auth0/blog/pulls/152/commits","review_comments_url":"https://api.github.com/repos/auth0/blog/pulls/152/comments","review_comment_url":"https://api.github.com/repos/auth0/blog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/auth0/blog/issues/152/comments","statuses_url":"https://api.github.com/repos/auth0/blog/statuses/3d9f02718ca08a1c08b1380fc9b6df59a783d5b7","head":{"label":"auth0:converting-webapp-to-mobile","ref":"converting-webapp-to-mobile","sha":"3d9f02718ca08a1c08b1380fc9b6df59a783d5b7","user":{"login":"auth0","id":2824157,"avatar_url":"https://avatars.githubusercontent.com/u/2824157?v=3","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"repo":{"id":7830124,"name":"blog","full_name":"auth0/blog","owner":{"login":"auth0","id":2824157,"avatar_url":"https://avatars.githubusercontent.com/u/2824157?v=3","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/auth0/blog","description":"auth0 blog","fork":false,"url":"https://api.github.com/repos/auth0/blog","forks_url":"https://api.github.com/repos/auth0/blog/forks","keys_url":"https://api.github.com/repos/auth0/blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/auth0/blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/auth0/blog/teams","hooks_url":"https://api.github.com/repos/auth0/blog/hooks","issue_events_url":"https://api.github.com/repos/auth0/blog/issues/events{/number}","events_url":"https://api.github.com/repos/auth0/blog/events","assignees_url":"https://api.github.com/repos/auth0/blog/assignees{/user}","branches_url":"https://api.github.com/repos/auth0/blog/branches{/branch}","tags_url":"https://api.github.com/repos/auth0/blog/tags","blobs_url":"https://api.github.com/repos/auth0/blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/auth0/blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/auth0/blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/auth0/blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/auth0/blog/statuses/{sha}","languages_url":"https://api.github.com/repos/auth0/blog/languages","stargazers_url":"https://api.github.com/repos/auth0/blog/stargazers","contributors_url":"https://api.github.com/repos/auth0/blog/contributors","subscribers_url":"https://api.github.com/repos/auth0/blog/subscribers","subscription_url":"https://api.github.com/repos/auth0/blog/subscription","commits_url":"https://api.github.com/repos/auth0/blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/auth0/blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/auth0/blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/auth0/blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/auth0/blog/contents/{+path}","compare_url":"https://api.github.com/repos/auth0/blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/auth0/blog/merges","archive_url":"https://api.github.com/repos/auth0/blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/auth0/blog/downloads","issues_url":"https://api.github.com/repos/auth0/blog/issues{/number}","pulls_url":"https://api.github.com/repos/auth0/blog/pulls{/number}","milestones_url":"https://api.github.com/repos/auth0/blog/milestones{/number}","notifications_url":"https://api.github.com/repos/auth0/blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/auth0/blog/labels{/name}","releases_url":"https://api.github.com/repos/auth0/blog/releases{/id}","created_at":"2013-01-25T22:57:37Z","updated_at":"2015-11-05T05:26:12Z","pushed_at":"2015-12-07T23:08:18Z","git_url":"git://github.com/auth0/blog.git","ssh_url":"git@github.com:auth0/blog.git","clone_url":"https://github.com/auth0/blog.git","svn_url":"https://github.com/auth0/blog","homepage":"https://auth0.com/blog","size":15699,"stargazers_count":12,"watchers_count":12,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":4,"forks":17,"open_issues":4,"watchers":12,"default_branch":"master"}},"base":{"label":"auth0:master","ref":"master","sha":"7e36d650b3911a12902dd33b266303c5cae483be","user":{"login":"auth0","id":2824157,"avatar_url":"https://avatars.githubusercontent.com/u/2824157?v=3","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"repo":{"id":7830124,"name":"blog","full_name":"auth0/blog","owner":{"login":"auth0","id":2824157,"avatar_url":"https://avatars.githubusercontent.com/u/2824157?v=3","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/auth0/blog","description":"auth0 blog","fork":false,"url":"https://api.github.com/repos/auth0/blog","forks_url":"https://api.github.com/repos/auth0/blog/forks","keys_url":"https://api.github.com/repos/auth0/blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/auth0/blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/auth0/blog/teams","hooks_url":"https://api.github.com/repos/auth0/blog/hooks","issue_events_url":"https://api.github.com/repos/auth0/blog/issues/events{/number}","events_url":"https://api.github.com/repos/auth0/blog/events","assignees_url":"https://api.github.com/repos/auth0/blog/assignees{/user}","branches_url":"https://api.github.com/repos/auth0/blog/branches{/branch}","tags_url":"https://api.github.com/repos/auth0/blog/tags","blobs_url":"https://api.github.com/repos/auth0/blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/auth0/blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/auth0/blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/auth0/blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/auth0/blog/statuses/{sha}","languages_url":"https://api.github.com/repos/auth0/blog/languages","stargazers_url":"https://api.github.com/repos/auth0/blog/stargazers","contributors_url":"https://api.github.com/repos/auth0/blog/contributors","subscribers_url":"https://api.github.com/repos/auth0/blog/subscribers","subscription_url":"https://api.github.com/repos/auth0/blog/subscription","commits_url":"https://api.github.com/repos/auth0/blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/auth0/blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/auth0/blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/auth0/blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/auth0/blog/contents/{+path}","compare_url":"https://api.github.com/repos/auth0/blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/auth0/blog/merges","archive_url":"https://api.github.com/repos/auth0/blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/auth0/blog/downloads","issues_url":"https://api.github.com/repos/auth0/blog/issues{/number}","pulls_url":"https://api.github.com/repos/auth0/blog/pulls{/number}","milestones_url":"https://api.github.com/repos/auth0/blog/milestones{/number}","notifications_url":"https://api.github.com/repos/auth0/blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/auth0/blog/labels{/name}","releases_url":"https://api.github.com/repos/auth0/blog/releases{/id}","created_at":"2013-01-25T22:57:37Z","updated_at":"2015-11-05T05:26:12Z","pushed_at":"2015-12-07T23:08:18Z","git_url":"git://github.com/auth0/blog.git","ssh_url":"git@github.com:auth0/blog.git","clone_url":"https://github.com/auth0/blog.git","svn_url":"https://github.com/auth0/blog","homepage":"https://auth0.com/blog","size":15699,"stargazers_count":12,"watchers_count":12,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":4,"forks":17,"open_issues":4,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/auth0/blog/pulls/152"},"html":{"href":"https://github.com/auth0/blog/pull/152"},"issue":{"href":"https://api.github.com/repos/auth0/blog/issues/152"},"comments":{"href":"https://api.github.com/repos/auth0/blog/issues/152/comments"},"review_comments":{"href":"https://api.github.com/repos/auth0/blog/pulls/152/comments"},"review_comment":{"href":"https://api.github.com/repos/auth0/blog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/auth0/blog/pulls/152/commits"},"statuses":{"href":"https://api.github.com/repos/auth0/blog/statuses/3d9f02718ca08a1c08b1380fc9b6df59a783d5b7"}}}}