{"action":"created","issue":{"url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/1107","repository_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications","labels_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/1107/labels{/name}","comments_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/1107/comments","events_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/1107/events","html_url":"https://github.com/katzer/cordova-plugin-local-notifications/pull/1107","id":180707520,"number":1107,"title":"Fixed iOS 10 compat on the master branch","user":{"login":"EddyVerbruggen","id":1426370,"avatar_url":"https://avatars.githubusercontent.com/u/1426370?v=3","gravatar_id":"","url":"https://api.github.com/users/EddyVerbruggen","html_url":"https://github.com/EddyVerbruggen","followers_url":"https://api.github.com/users/EddyVerbruggen/followers","following_url":"https://api.github.com/users/EddyVerbruggen/following{/other_user}","gists_url":"https://api.github.com/users/EddyVerbruggen/gists{/gist_id}","starred_url":"https://api.github.com/users/EddyVerbruggen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EddyVerbruggen/subscriptions","organizations_url":"https://api.github.com/users/EddyVerbruggen/orgs","repos_url":"https://api.github.com/users/EddyVerbruggen/repos","events_url":"https://api.github.com/users/EddyVerbruggen/events{/privacy}","received_events_url":"https://api.github.com/users/EddyVerbruggen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":47,"created_at":"2016-10-03T18:11:01Z","updated_at":"2016-12-14T10:17:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/pulls/1107","html_url":"https://github.com/katzer/cordova-plugin-local-notifications/pull/1107","diff_url":"https://github.com/katzer/cordova-plugin-local-notifications/pull/1107.diff","patch_url":"https://github.com/katzer/cordova-plugin-local-notifications/pull/1107.patch"},"body":"In case merging the iOS10 branch takes a long time, or in case it's not compatible with cloud build tools like PhoneGap Build (which may not use the required Xcode version (8) of said branch), please consider this clean and easy fix for iOS 10 support.\n\nYes it still uses the old API that was deprecated since iOS 10, but it will be available in iOS for some time as Apple is always purposefully slow removing deprecated API's.\n\nThis fixes issues like #1096, #1034 and #1101 and I've also applied this patch to the [Telerik fork](https://github.com/Telerik-Verified-Plugins/LocalNotification) in order to support the Telerik Platform (also a cloud build tool).\n"},"comment":{"url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/comments/266996789","html_url":"https://github.com/katzer/cordova-plugin-local-notifications/pull/1107#issuecomment-266996789","issue_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/1107","id":266996789,"user":{"login":"stoconnor","id":4786068,"avatar_url":"https://avatars.githubusercontent.com/u/4786068?v=3","gravatar_id":"","url":"https://api.github.com/users/stoconnor","html_url":"https://github.com/stoconnor","followers_url":"https://api.github.com/users/stoconnor/followers","following_url":"https://api.github.com/users/stoconnor/following{/other_user}","gists_url":"https://api.github.com/users/stoconnor/gists{/gist_id}","starred_url":"https://api.github.com/users/stoconnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoconnor/subscriptions","organizations_url":"https://api.github.com/users/stoconnor/orgs","repos_url":"https://api.github.com/users/stoconnor/repos","events_url":"https://api.github.com/users/stoconnor/events{/privacy}","received_events_url":"https://api.github.com/users/stoconnor/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T10:17:42Z","updated_at":"2016-12-14T10:17:42Z","body":"Out of interest has anyone verified this fix on iOS 10.2? I updated yesterday to Xcode 8.2 and localnotifications not coming in. Setting notification as follows:\r\n\r\n```\r\n        $cordovaLocalNotification.schedule({\r\n            id: \"1234\",\r\n            title: \"Notification\",\r\n            text: \"Text.....\",\r\n            at: myTime\r\n        }).then(function () {\r\n            console.log(\"The notification has been set\");\r\n        });\r\n```\r\n\r\nIt's worth nothing I've only recently added the plugin, works perfectly on android. I manually changed the filed in Xcode to match this PR. "}}
{"actor":{"display_login":"stoconnor"}}