{"action":"created","issue":{"url":"https://api.github.com/repos/dpa99c/cordova-diagnostic-plugin/issues/132","repository_url":"https://api.github.com/repos/dpa99c/cordova-diagnostic-plugin","labels_url":"https://api.github.com/repos/dpa99c/cordova-diagnostic-plugin/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/dpa99c/cordova-diagnostic-plugin/issues/132/comments","events_url":"https://api.github.com/repos/dpa99c/cordova-diagnostic-plugin/issues/132/events","html_url":"https://github.com/dpa99c/cordova-diagnostic-plugin/issues/132","id":181991830,"number":132,"title":"\"registerBluetoothStateChangeHandler\" and \"registerLocationStateChangeHandler\" not work in Android and iOS","user":{"login":"bau720123","id":5110085,"avatar_url":"https://avatars.githubusercontent.com/u/5110085?v=3","gravatar_id":"","url":"https://api.github.com/users/bau720123","html_url":"https://github.com/bau720123","followers_url":"https://api.github.com/users/bau720123/followers","following_url":"https://api.github.com/users/bau720123/following{/other_user}","gists_url":"https://api.github.com/users/bau720123/gists{/gist_id}","starred_url":"https://api.github.com/users/bau720123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bau720123/subscriptions","organizations_url":"https://api.github.com/users/bau720123/orgs","repos_url":"https://api.github.com/users/bau720123/repos","events_url":"https://api.github.com/users/bau720123/events{/privacy}","received_events_url":"https://api.github.com/users/bau720123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dpa99c/cordova-diagnostic-plugin/labels/awaiting%20response","name":"awaiting response","color":"d93f0b"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-10T11:26:44Z","updated_at":"2016-10-13T18:22:45Z","closed_at":null,"body":"hi @dpa99c \r\nI am using Android 6.0.1、iOS 9.3.5、Cordova Android 5.2.2、Cordova iOS 4.2.1、cordova-diagnostic-plugin 3.2.2\r\naccording to these\r\nhttps://github.com/dpa99c/cordova-diagnostic-plugin#registerbluetoothstatechangehandler\r\nhttps://github.com/dpa99c/cordova-diagnostic-plugin#registerlocationstatechangehandler\r\nI tried in Android and iOS，but the \"console.log\" not trigger\r\n\r\n```\r\ncordova.plugins.diagnostic.registerBluetoothStateChangeHandler(function(state)\r\n{\r\n//not trigger\r\n});\r\n\r\ncordova.plugins.diagnostic.registerLocationStateChangeHandler(function(state)\r\n{\r\n//not trigger\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/dpa99c/cordova-diagnostic-plugin/issues/comments/253596142","html_url":"https://github.com/dpa99c/cordova-diagnostic-plugin/issues/132#issuecomment-253596142","issue_url":"https://api.github.com/repos/dpa99c/cordova-diagnostic-plugin/issues/132","id":253596142,"user":{"login":"dpa99c","id":2345062,"avatar_url":"https://avatars.githubusercontent.com/u/2345062?v=3","gravatar_id":"","url":"https://api.github.com/users/dpa99c","html_url":"https://github.com/dpa99c","followers_url":"https://api.github.com/users/dpa99c/followers","following_url":"https://api.github.com/users/dpa99c/following{/other_user}","gists_url":"https://api.github.com/users/dpa99c/gists{/gist_id}","starred_url":"https://api.github.com/users/dpa99c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpa99c/subscriptions","organizations_url":"https://api.github.com/users/dpa99c/orgs","repos_url":"https://api.github.com/users/dpa99c/repos","events_url":"https://api.github.com/users/dpa99c/events{/privacy}","received_events_url":"https://api.github.com/users/dpa99c/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T18:22:45Z","updated_at":"2016-10-13T18:22:45Z","body":"@bau720123 The namespace requirement is stated in the [cordova-custom-config documentation](https://github.com/dpa99c/cordova-custom-config#android-namespace-attribute).\r\nUsing the example projects for comparison is your best bet to resolve the issue quickly."}}
{"actor":{"display_login":"dpa99c"}}