{"action":"created","issue":{"url":"https://api.github.com/repos/pimatic/pimatic/issues/632","labels_url":"https://api.github.com/repos/pimatic/pimatic/issues/632/labels{/name}","comments_url":"https://api.github.com/repos/pimatic/pimatic/issues/632/comments","events_url":"https://api.github.com/repos/pimatic/pimatic/issues/632/events","html_url":"https://github.com/pimatic/pimatic/issues/632","id":66830253,"number":632,"title":"[pimatic-mobile-frontend] xConfirm closes iphone app","user":{"login":"Sjeff","id":11430228,"avatar_url":"https://avatars.githubusercontent.com/u/11430228?v=3","gravatar_id":"","url":"https://api.github.com/users/Sjeff","html_url":"https://github.com/Sjeff","followers_url":"https://api.github.com/users/Sjeff/followers","following_url":"https://api.github.com/users/Sjeff/following{/other_user}","gists_url":"https://api.github.com/users/Sjeff/gists{/gist_id}","starred_url":"https://api.github.com/users/Sjeff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sjeff/subscriptions","organizations_url":"https://api.github.com/users/Sjeff/orgs","repos_url":"https://api.github.com/users/Sjeff/repos","events_url":"https://api.github.com/users/Sjeff/events{/privacy}","received_events_url":"https://api.github.com/users/Sjeff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pimatic/pimatic/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-07T09:01:37Z","updated_at":"2015-04-13T11:50:33Z","closed_at":null,"body":"i just set xConfirm on a switch but when i press cancel or ok the iphone app (safari page pined to the homeschreen) closes and the switch doesnt turn on or off.\r\n\r\nWhen i open the page on my computer (chorme) i does work.\r\n\r\nany ideas?\r\n\r\nThis is how i configured the switch.\r\n\r\n     {\r\n      \"id\": \"Computer\",\r\n      \"name\": \"Computer\",\r\n      \"class\": \"HomeduinoRFSwitch\",\r\n      \"xOnLabel\": \"aan\",\r\n      \"xOffLabel\": \"uit\",\r\n      \"xConfirm\": true,\r\n      \"protocols\": [\r\n        {\r\n          \"name\": \"switch1\",\r\n          \"options\": {\r\n            \"id\": 13258578,\r\n            \"unit\": 1\r\n          },\r\n          \"send\": true,\r\n          \"receive\": true\r\n        }\r\n      ]\r\n    },\r\n"},"comment":{"url":"https://api.github.com/repos/pimatic/pimatic/issues/comments/92324909","html_url":"https://github.com/pimatic/pimatic/issues/632#issuecomment-92324909","issue_url":"https://api.github.com/repos/pimatic/pimatic/issues/632","id":92324909,"user":{"login":"Sjeff","id":11430228,"avatar_url":"https://avatars.githubusercontent.com/u/11430228?v=3","gravatar_id":"","url":"https://api.github.com/users/Sjeff","html_url":"https://github.com/Sjeff","followers_url":"https://api.github.com/users/Sjeff/followers","following_url":"https://api.github.com/users/Sjeff/following{/other_user}","gists_url":"https://api.github.com/users/Sjeff/gists{/gist_id}","starred_url":"https://api.github.com/users/Sjeff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sjeff/subscriptions","organizations_url":"https://api.github.com/users/Sjeff/orgs","repos_url":"https://api.github.com/users/Sjeff/repos","events_url":"https://api.github.com/users/Sjeff/events{/privacy}","received_events_url":"https://api.github.com/users/Sjeff/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T11:50:33Z","updated_at":"2015-04-13T11:50:33Z","body":"Found out some interesting stuff.\r\nIf i pin the page to the homeschreen after i logged on to pimatic xConfirm doesnt works and i get the error like above but If i pin the page to the homescheen before i log on to pimatic xConfirm does work and no errors or failures appear.\r\n\r\nI even restarted my iphone to make sure it keeps working.\r\n\r\nlooks like its working now.\r\n "}}