{"action":"created","comment":{"url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/pulls/comments/71202183","id":71202183,"diff_hunk":"@@ -0,0 +1,313 @@\n+/*\n+ SFWKWebViewDelegate.m\n+ SalesforceHybridSDK\n+ \n+ Created by Bharath Hariharan on 7/15/16.\n+ \n+ Copyright (c) 2016, salesforce.com, inc. All rights reserved.\n+ \n+ Redistribution and use of this software in source and binary forms, with or without modification,\n+ are permitted provided that the following conditions are met:\n+ * Redistributions of source code must retain the above copyright notice, this list of conditions\n+ and the following disclaimer.\n+ * Redistributions in binary form must reproduce the above copyright notice, this list of\n+ conditions and the following disclaimer in the documentation and/or other materials provided\n+ with the distribution.\n+ * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to\n+ endorse or promote products derived from this software without specific prior written\n+ permission of salesforce.com, inc.\n+ \n+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR\n+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\n+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR\n+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY\n+ WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+ */\n+\n+#import \"SFWKWebViewDelegate.h\"\n+\n+typedef enum {","path":"libs/SalesforceHybridSDK/SalesforceHybridSDK/Classes/Plugins/SFWKWebViewEngine/SFWKWebViewDelegate.m","position":32,"original_position":32,"commit_id":"d364f6746fbac6b75bf22c0264bc68ef5fd08801","original_commit_id":"d364f6746fbac6b75bf22c0264bc68ef5fd08801","user":{"login":"bhariharan","id":1820287,"avatar_url":"https://avatars.githubusercontent.com/u/1820287?v=3","gravatar_id":"","url":"https://api.github.com/users/bhariharan","html_url":"https://github.com/bhariharan","followers_url":"https://api.github.com/users/bhariharan/followers","following_url":"https://api.github.com/users/bhariharan/following{/other_user}","gists_url":"https://api.github.com/users/bhariharan/gists{/gist_id}","starred_url":"https://api.github.com/users/bhariharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhariharan/subscriptions","organizations_url":"https://api.github.com/users/bhariharan/orgs","repos_url":"https://api.github.com/users/bhariharan/repos","events_url":"https://api.github.com/users/bhariharan/events{/privacy}","received_events_url":"https://api.github.com/users/bhariharan/received_events","type":"User","site_admin":false},"body":"New plugin using ```WKWebView```. I will clean this up and contribute back to ```Cordova```, but this should live here for now.","created_at":"2016-07-18T18:31:05Z","updated_at":"2016-07-18T18:31:05Z","html_url":"https://github.com/forcedotcom/SalesforceMobileSDK-iOS/pull/1656#discussion_r71202183","pull_request_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/pulls/1656","_links":{"self":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/pulls/comments/71202183"},"html":{"href":"https://github.com/forcedotcom/SalesforceMobileSDK-iOS/pull/1656#discussion_r71202183"},"pull_request":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/pulls/1656"}}},"pull_request":{"url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/pulls/1656","id":77855321,"html_url":"https://github.com/forcedotcom/SalesforceMobileSDK-iOS/pull/1656","diff_url":"https://github.com/forcedotcom/SalesforceMobileSDK-iOS/pull/1656.diff","patch_url":"https://github.com/forcedotcom/SalesforceMobileSDK-iOS/pull/1656.patch","issue_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/1656","number":1656,"state":"open","locked":false,"title":"Upgrading to Cordova 4.2.0 and using WKWebView","user":{"login":"bhariharan","id":1820287,"avatar_url":"https://avatars.githubusercontent.com/u/1820287?v=3","gravatar_id":"","url":"https://api.github.com/users/bhariharan","html_url":"https://github.com/bhariharan","followers_url":"https://api.github.com/users/bhariharan/followers","following_url":"https://api.github.com/users/bhariharan/following{/other_user}","gists_url":"https://api.github.com/users/bhariharan/gists{/gist_id}","starred_url":"https://api.github.com/users/bhariharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhariharan/subscriptions","organizations_url":"https://api.github.com/users/bhariharan/orgs","repos_url":"https://api.github.com/users/bhariharan/repos","events_url":"https://api.github.com/users/bhariharan/events{/privacy}","received_events_url":"https://api.github.com/users/bhariharan/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-18T18:28:43Z","updated_at":"2016-07-18T18:31:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f1eba7974b5f3c4e755d5e682939d1ff0c3cc2d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/pulls/1656/commits","review_comments_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/pulls/1656/comments","review_comment_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/1656/comments","statuses_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/statuses/d364f6746fbac6b75bf22c0264bc68ef5fd08801","head":{"label":"bhariharan:cordova_latest","ref":"cordova_latest","sha":"d364f6746fbac6b75bf22c0264bc68ef5fd08801","user":{"login":"bhariharan","id":1820287,"avatar_url":"https://avatars.githubusercontent.com/u/1820287?v=3","gravatar_id":"","url":"https://api.github.com/users/bhariharan","html_url":"https://github.com/bhariharan","followers_url":"https://api.github.com/users/bhariharan/followers","following_url":"https://api.github.com/users/bhariharan/following{/other_user}","gists_url":"https://api.github.com/users/bhariharan/gists{/gist_id}","starred_url":"https://api.github.com/users/bhariharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhariharan/subscriptions","organizations_url":"https://api.github.com/users/bhariharan/orgs","repos_url":"https://api.github.com/users/bhariharan/repos","events_url":"https://api.github.com/users/bhariharan/events{/privacy}","received_events_url":"https://api.github.com/users/bhariharan/received_events","type":"User","site_admin":false},"repo":{"id":5185159,"name":"SalesforceMobileSDK-iOS","full_name":"bhariharan/SalesforceMobileSDK-iOS","owner":{"login":"bhariharan","id":1820287,"avatar_url":"https://avatars.githubusercontent.com/u/1820287?v=3","gravatar_id":"","url":"https://api.github.com/users/bhariharan","html_url":"https://github.com/bhariharan","followers_url":"https://api.github.com/users/bhariharan/followers","following_url":"https://api.github.com/users/bhariharan/following{/other_user}","gists_url":"https://api.github.com/users/bhariharan/gists{/gist_id}","starred_url":"https://api.github.com/users/bhariharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhariharan/subscriptions","organizations_url":"https://api.github.com/users/bhariharan/orgs","repos_url":"https://api.github.com/users/bhariharan/repos","events_url":"https://api.github.com/users/bhariharan/events{/privacy}","received_events_url":"https://api.github.com/users/bhariharan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bhariharan/SalesforceMobileSDK-iOS","description":"Force.com mobile SDK for iOS applications","fork":true,"url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS","forks_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/forks","keys_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/teams","hooks_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/hooks","issue_events_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/events","assignees_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/tags","blobs_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/languages","stargazers_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/stargazers","contributors_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/contributors","subscribers_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/subscribers","subscription_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/subscription","commits_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/merges","archive_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/downloads","issues_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/labels{/name}","releases_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/releases{/id}","deployments_url":"https://api.github.com/repos/bhariharan/SalesforceMobileSDK-iOS/deployments","created_at":"2012-07-25T22:08:25Z","updated_at":"2015-05-05T01:09:13Z","pushed_at":"2016-07-18T18:02:33Z","git_url":"git://github.com/bhariharan/SalesforceMobileSDK-iOS.git","ssh_url":"git@github.com:bhariharan/SalesforceMobileSDK-iOS.git","clone_url":"https://github.com/bhariharan/SalesforceMobileSDK-iOS.git","svn_url":"https://github.com/bhariharan/SalesforceMobileSDK-iOS","homepage":"https://github.com/forcedotcom/SalesforceMobileSDK-iOS","size":321865,"stargazers_count":1,"watchers_count":1,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"forcedotcom:unstable","ref":"unstable","sha":"5f8bf1363c3c28b3d76bd6e63b483c476afcf1a6","user":{"login":"forcedotcom","id":464563,"avatar_url":"https://avatars.githubusercontent.com/u/464563?v=3","gravatar_id":"","url":"https://api.github.com/users/forcedotcom","html_url":"https://github.com/forcedotcom","followers_url":"https://api.github.com/users/forcedotcom/followers","following_url":"https://api.github.com/users/forcedotcom/following{/other_user}","gists_url":"https://api.github.com/users/forcedotcom/gists{/gist_id}","starred_url":"https://api.github.com/users/forcedotcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forcedotcom/subscriptions","organizations_url":"https://api.github.com/users/forcedotcom/orgs","repos_url":"https://api.github.com/users/forcedotcom/repos","events_url":"https://api.github.com/users/forcedotcom/events{/privacy}","received_events_url":"https://api.github.com/users/forcedotcom/received_events","type":"Organization","site_admin":false},"repo":{"id":2338086,"name":"SalesforceMobileSDK-iOS","full_name":"forcedotcom/SalesforceMobileSDK-iOS","owner":{"login":"forcedotcom","id":464563,"avatar_url":"https://avatars.githubusercontent.com/u/464563?v=3","gravatar_id":"","url":"https://api.github.com/users/forcedotcom","html_url":"https://github.com/forcedotcom","followers_url":"https://api.github.com/users/forcedotcom/followers","following_url":"https://api.github.com/users/forcedotcom/following{/other_user}","gists_url":"https://api.github.com/users/forcedotcom/gists{/gist_id}","starred_url":"https://api.github.com/users/forcedotcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forcedotcom/subscriptions","organizations_url":"https://api.github.com/users/forcedotcom/orgs","repos_url":"https://api.github.com/users/forcedotcom/repos","events_url":"https://api.github.com/users/forcedotcom/events{/privacy}","received_events_url":"https://api.github.com/users/forcedotcom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/forcedotcom/SalesforceMobileSDK-iOS","description":"Force.com mobile SDK for iOS applications","fork":false,"url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS","forks_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/forks","keys_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/teams","hooks_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/hooks","issue_events_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/events","assignees_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/tags","blobs_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/languages","stargazers_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/stargazers","contributors_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/contributors","subscribers_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/subscribers","subscription_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/subscription","commits_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/merges","archive_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/downloads","issues_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/labels{/name}","releases_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/releases{/id}","deployments_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/deployments","created_at":"2011-09-06T23:13:57Z","updated_at":"2016-07-16T14:30:04Z","pushed_at":"2016-07-18T18:28:43Z","git_url":"git://github.com/forcedotcom/SalesforceMobileSDK-iOS.git","ssh_url":"git@github.com:forcedotcom/SalesforceMobileSDK-iOS.git","clone_url":"https://github.com/forcedotcom/SalesforceMobileSDK-iOS.git","svn_url":"https://github.com/forcedotcom/SalesforceMobileSDK-iOS","homepage":"https://github.com/forcedotcom/SalesforceMobileSDK-iOS","size":331433,"stargazers_count":333,"watchers_count":333,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":245,"mirror_url":null,"open_issues_count":17,"forks":245,"open_issues":17,"watchers":333,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/pulls/1656"},"html":{"href":"https://github.com/forcedotcom/SalesforceMobileSDK-iOS/pull/1656"},"issue":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/1656"},"comments":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/1656/comments"},"review_comments":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/pulls/1656/comments"},"review_comment":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/pulls/1656/commits"},"statuses":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/statuses/d364f6746fbac6b75bf22c0264bc68ef5fd08801"}}}}
{"actor":{"display_login":"bhariharan"}}