{"action":"created","issue":{"url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/479","labels_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/479/comments","events_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/479/events","html_url":"https://github.com/katzer/cordova-plugin-local-notifications/issues/479","id":64070204,"number":479,"title":"what happened to the id property","user":{"login":"akreienbring","id":9348725,"avatar_url":"https://avatars.githubusercontent.com/u/9348725?v=3","gravatar_id":"","url":"https://api.github.com/users/akreienbring","html_url":"https://github.com/akreienbring","followers_url":"https://api.github.com/users/akreienbring/followers","following_url":"https://api.github.com/users/akreienbring/following{/other_user}","gists_url":"https://api.github.com/users/akreienbring/gists{/gist_id}","starred_url":"https://api.github.com/users/akreienbring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akreienbring/subscriptions","organizations_url":"https://api.github.com/users/akreienbring/orgs","repos_url":"https://api.github.com/users/akreienbring/repos","events_url":"https://api.github.com/users/akreienbring/events{/privacy}","received_events_url":"https://api.github.com/users/akreienbring/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-24T18:43:19Z","updated_at":"2015-03-24T19:18:15Z","closed_at":null,"body":"Hello, I just updated to version 0.8.1 of your (fabulous) plugin.\r\nIn an earlier version i could set the id property to an arbitrary string like this: \r\n```\r\n\t\t\t\tplugin.notification.local.add({\r\n\t\t\t\t\tid: \"someString\",\r\n\t\t\t\t});\r\n```\r\nand check for that string in the onClick event.\r\nNow, in version 0.8.1 i basically do the same:\r\n```\r\n\t\t\t\tcordova.plugins.notification.local.schedule({\r\n\t\t\t\t\tid: \"someString\",\r\n\t\t\t\t});\r\n```\r\nbut when checking for the id with\r\n```\r\ncordova.plugins.notification.local.on(\"click\", function (notification, state) { ...\r\n```\r\nnotification.id is always just 0\r\n\r\nIs this a bug or is the id supposed to be numeric now?"},"comment":{"url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/comments/85653679","html_url":"https://github.com/katzer/cordova-plugin-local-notifications/issues/479#issuecomment-85653679","issue_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/479","id":85653679,"user":{"login":"akreienbring","id":9348725,"avatar_url":"https://avatars.githubusercontent.com/u/9348725?v=3","gravatar_id":"","url":"https://api.github.com/users/akreienbring","html_url":"https://github.com/akreienbring","followers_url":"https://api.github.com/users/akreienbring/followers","following_url":"https://api.github.com/users/akreienbring/following{/other_user}","gists_url":"https://api.github.com/users/akreienbring/gists{/gist_id}","starred_url":"https://api.github.com/users/akreienbring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akreienbring/subscriptions","organizations_url":"https://api.github.com/users/akreienbring/orgs","repos_url":"https://api.github.com/users/akreienbring/repos","events_url":"https://api.github.com/users/akreienbring/events{/privacy}","received_events_url":"https://api.github.com/users/akreienbring/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T19:18:14Z","updated_at":"2015-03-24T19:18:14Z","body":" I just figured out that the notification.id is still of type 'string'. So I'll have to use:\r\n```\r\n        cordova.plugins.notification.local.on(\"click\", function (notification, state) {\r\n                switch (notification.id) {\r\n                case \"1\":\r\n```"}}