{"action":"created","issue":{"url":"https://api.github.com/repos/hypery2k/cordova-hotspot-plugin/issues/21","repository_url":"https://api.github.com/repos/hypery2k/cordova-hotspot-plugin","labels_url":"https://api.github.com/repos/hypery2k/cordova-hotspot-plugin/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/hypery2k/cordova-hotspot-plugin/issues/21/comments","events_url":"https://api.github.com/repos/hypery2k/cordova-hotspot-plugin/issues/21/events","html_url":"https://github.com/hypery2k/cordova-hotspot-plugin/issues/21","id":144323761,"number":21,"title":"Hotspot has old name, configure function returns error","user":{"login":"hisankaran","id":501259,"avatar_url":"https://avatars.githubusercontent.com/u/501259?v=3","gravatar_id":"","url":"https://api.github.com/users/hisankaran","html_url":"https://github.com/hisankaran","followers_url":"https://api.github.com/users/hisankaran/followers","following_url":"https://api.github.com/users/hisankaran/following{/other_user}","gists_url":"https://api.github.com/users/hisankaran/gists{/gist_id}","starred_url":"https://api.github.com/users/hisankaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hisankaran/subscriptions","organizations_url":"https://api.github.com/users/hisankaran/orgs","repos_url":"https://api.github.com/users/hisankaran/repos","events_url":"https://api.github.com/users/hisankaran/events{/privacy}","received_events_url":"https://api.github.com/users/hisankaran/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hypery2k/cordova-hotspot-plugin/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"hypery2k","id":979121,"avatar_url":"https://avatars.githubusercontent.com/u/979121?v=3","gravatar_id":"","url":"https://api.github.com/users/hypery2k","html_url":"https://github.com/hypery2k","followers_url":"https://api.github.com/users/hypery2k/followers","following_url":"https://api.github.com/users/hypery2k/following{/other_user}","gists_url":"https://api.github.com/users/hypery2k/gists{/gist_id}","starred_url":"https://api.github.com/users/hypery2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypery2k/subscriptions","organizations_url":"https://api.github.com/users/hypery2k/orgs","repos_url":"https://api.github.com/users/hypery2k/repos","events_url":"https://api.github.com/users/hypery2k/events{/privacy}","received_events_url":"https://api.github.com/users/hypery2k/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/hypery2k/cordova-hotspot-plugin/milestones/2","html_url":"https://github.com/hypery2k/cordova-hotspot-plugin/milestones/next","labels_url":"https://api.github.com/repos/hypery2k/cordova-hotspot-plugin/milestones/2/labels","id":1671126,"number":2,"title":"next","description":"","creator":{"login":"hypery2k","id":979121,"avatar_url":"https://avatars.githubusercontent.com/u/979121?v=3","gravatar_id":"","url":"https://api.github.com/users/hypery2k","html_url":"https://github.com/hypery2k","followers_url":"https://api.github.com/users/hypery2k/followers","following_url":"https://api.github.com/users/hypery2k/following{/other_user}","gists_url":"https://api.github.com/users/hypery2k/gists{/gist_id}","starred_url":"https://api.github.com/users/hypery2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypery2k/subscriptions","organizations_url":"https://api.github.com/users/hypery2k/orgs","repos_url":"https://api.github.com/users/hypery2k/repos","events_url":"https://api.github.com/users/hypery2k/events{/privacy}","received_events_url":"https://api.github.com/users/hypery2k/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-03-29T06:16:18Z","updated_at":"2016-03-29T17:00:32Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-03-29T16:53:01Z","updated_at":"2016-03-29T17:10:30Z","closed_at":null,"body":"Hi Martin,\r\n\r\nWhen I create a hotspot, the old name is being used for ssid, and the security is open even though I am setting it to `WPA_PSK` or `WPA2_PSK`. To work around this I am using the following code to start the default hotspot whatever the name is, then configuring it with my ssid and password. \r\n\r\n```\r\nvar q = $q.defer();\r\ncordova.plugins.hotspot.startHotspot(function() {\r\n  cordova.plugins.hotspot.configureHotspot(ssid, 'WPA_PSK', password, q.resolve, q.reject);\r\n}, q.reject);\r\nreturn q.promise;\r\n```\r\n\r\nwhen I run this, I am seeing following error\r\n\r\n```\r\nAttempt to invoke virtual method 'java.lang.String org.json.JSONArray.getString(int)' on a null object reference\r\n```\r\n\r\nI thought this might be related to #15 and updated the plugin to 1.0.0. I am still seeing the issue. \r\n\r\nAny thoughts?\r\n\r\nThank you very much for your help!"},"comment":{"url":"https://api.github.com/repos/hypery2k/cordova-hotspot-plugin/issues/comments/203003599","html_url":"https://github.com/hypery2k/cordova-hotspot-plugin/issues/21#issuecomment-203003599","issue_url":"https://api.github.com/repos/hypery2k/cordova-hotspot-plugin/issues/21","id":203003599,"user":{"login":"hisankaran","id":501259,"avatar_url":"https://avatars.githubusercontent.com/u/501259?v=3","gravatar_id":"","url":"https://api.github.com/users/hisankaran","html_url":"https://github.com/hisankaran","followers_url":"https://api.github.com/users/hisankaran/followers","following_url":"https://api.github.com/users/hisankaran/following{/other_user}","gists_url":"https://api.github.com/users/hisankaran/gists{/gist_id}","starred_url":"https://api.github.com/users/hisankaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hisankaran/subscriptions","organizations_url":"https://api.github.com/users/hisankaran/orgs","repos_url":"https://api.github.com/users/hisankaran/repos","events_url":"https://api.github.com/users/hisankaran/events{/privacy}","received_events_url":"https://api.github.com/users/hisankaran/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T17:10:30Z","updated_at":"2016-03-29T17:10:30Z","body":"Yeah, you are correct. one is when we create a hotspot it is comes up with old name and the other one is the issue with configure method. "}}