{"action":"created","issue":{"url":"https://api.github.com/repos/vbresults/mobile-apps-for-xenforo/issues/54","repository_url":"https://api.github.com/repos/vbresults/mobile-apps-for-xenforo","labels_url":"https://api.github.com/repos/vbresults/mobile-apps-for-xenforo/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/vbresults/mobile-apps-for-xenforo/issues/54/comments","events_url":"https://api.github.com/repos/vbresults/mobile-apps-for-xenforo/issues/54/events","html_url":"https://github.com/vbresults/mobile-apps-for-xenforo/issues/54","id":139510728,"number":54,"title":"iOS login persistence and and push notifications ","user":{"login":"Dannymh","id":7025240,"avatar_url":"https://avatars.githubusercontent.com/u/7025240?v=3","gravatar_id":"","url":"https://api.github.com/users/Dannymh","html_url":"https://github.com/Dannymh","followers_url":"https://api.github.com/users/Dannymh/followers","following_url":"https://api.github.com/users/Dannymh/following{/other_user}","gists_url":"https://api.github.com/users/Dannymh/gists{/gist_id}","starred_url":"https://api.github.com/users/Dannymh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dannymh/subscriptions","organizations_url":"https://api.github.com/users/Dannymh/orgs","repos_url":"https://api.github.com/users/Dannymh/repos","events_url":"https://api.github.com/users/Dannymh/events{/privacy}","received_events_url":"https://api.github.com/users/Dannymh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vbresults/mobile-apps-for-xenforo/labels/ios","name":"ios","color":"bfdadc"},{"url":"https://api.github.com/repos/vbresults/mobile-apps-for-xenforo/labels/needs%20more%20information","name":"needs more information","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-03-09T08:30:47Z","updated_at":"2016-03-11T08:12:24Z","closed_at":null,"body":"#### Please, provide the details below:\r\n\r\n## 1. Are you reporting an issue with the apps or add-ons?\r\nYes\r\n\r\n### 1.1. If so, tell us about the problem\r\nSince upgrading the addon to the latest version the login does not persist on iOS device. Push notifications are not making it through to the iOS device.\r\nIf I close the app I have to login again\r\n\r\nI have tried removing the app and re-installing it.\r\n\r\nThe same happens on my iPhone 6s and my iPad both on latest iOS \r\n\r\n### 1.2. Which platform(s) does your issue occur on?\r\niOS\r\n\r\n### 1.3. Version numbers that your issue occurs with:\r\n- iOS App:  1.1.40\r\n- Android App:\r\n\r\n- Platform: XenForo/vBulletin/WordPress\r\n- Add-on Version:\r\n- XenForo Version: 1.5.6\r\n\r\n### 1.4. Please tell us how to recreate the issue in detail\r\nInstall app, login and accept notifications.\r\n\r\nPost >> close app >> open app >> you will be asked to login again and no notifications have been sent\r\n\r\n### 1.5. Is there an error message involved?  If so, please paste\r\nAm getting ocassional errors such as\r\n\r\nZend_Http_Client_Adapter_Exception: Read timed out after 10 seconds - library/Zend/Http/Client/Adapter/Socket.php:512\r\n\r\n`#0 /var/www/htdocs/st/library/Zend/Http/Client/Adapter/Socket.php(330): Zend_Http_Client_Adapter_Socket->_checkSocketReadTimeout()\r\n#1 /var/www/htdocs/st/library/Zend/Http/Client.php(989): Zend_Http_Client_Adapter_Socket->read()\r\n#2 /var/www/htdocs/st/library/MobileInterface/PushAlert/Transport.php(42): Zend_Http_Client->request('POST')\r\n#3 /var/www/htdocs/st/library/MobileInterface/PushAlert/Transport.php(14): MobileInterface_PushAlert_Transport::send('register', Array)\r\n#4 /var/www/htdocs/st/library/MobileInterface/ControllerPublic/Account.php(5): MobileInterface_PushAlert_Transport::register(Object(Valhalla_LikesGiven_ControllerPublic_Account))\r\n#5 /var/www/htdocs/st/library/XenForo/FrontController.php(351): MobileInterface_ControllerPublic_Account->actionPushAlertRegister()\r\n#6 /var/www/htdocs/st/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))\r\n#7 /var/www/htdocs/st/index.php(13): XenForo_FrontController->run()\r\n#8 {main}`\r\n\r\n`array(3) {\r\n  [\"url\"] => string(64) \"http://www.silvertails.net/index.php?account/push-alert-register\"\r\n  [\"_GET\"] => array(1) {\r\n    [\"account/push-alert-register\"] => string(0) \"\"\r\n  }\r\n  [\"_POST\"] => array(4) {\r\n    [\"_xfResponseType\"] => string(4) \"json\"\r\n    [\"_xfToken\"] => string(8) \"********\"\r\n    [\"platform\"] => string(3) \"ios\"\r\n    [\"token\"] => string(64) \"347ca84fc15d96f08101fdb0fb10a9a456d2907eaf69e75235385fd35ee8d672\"\r\n  }\r\n}`\r\n\r\nthis may be related as it is registering the alerts, but my user is not triggering this same server error, these are maybe once per day where as alerts are not going out at all for iOS"},"comment":{"url":"https://api.github.com/repos/vbresults/mobile-apps-for-xenforo/issues/comments/195248242","html_url":"https://github.com/vbresults/mobile-apps-for-xenforo/issues/54#issuecomment-195248242","issue_url":"https://api.github.com/repos/vbresults/mobile-apps-for-xenforo/issues/54","id":195248242,"user":{"login":"vbresults","id":7179668,"avatar_url":"https://avatars.githubusercontent.com/u/7179668?v=3","gravatar_id":"","url":"https://api.github.com/users/vbresults","html_url":"https://github.com/vbresults","followers_url":"https://api.github.com/users/vbresults/followers","following_url":"https://api.github.com/users/vbresults/following{/other_user}","gists_url":"https://api.github.com/users/vbresults/gists{/gist_id}","starred_url":"https://api.github.com/users/vbresults/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbresults/subscriptions","organizations_url":"https://api.github.com/users/vbresults/orgs","repos_url":"https://api.github.com/users/vbresults/repos","events_url":"https://api.github.com/users/vbresults/events{/privacy}","received_events_url":"https://api.github.com/users/vbresults/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T08:12:24Z","updated_at":"2016-03-11T08:12:24Z","body":"Uninstall the app one more time and reinstall, this is to see if we get your push token registered on our end"}}