{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/298","repository_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push","labels_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/298/comments","events_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/298/events","html_url":"https://github.com/Microsoft/cordova-plugin-code-push/issues/298","id":260019328,"number":298,"title":"iOS release always rolling back","user":{"login":"MattHoneycutt","id":156878,"avatar_url":"https://avatars3.githubusercontent.com/u/156878?v=4","gravatar_id":"","url":"https://api.github.com/users/MattHoneycutt","html_url":"https://github.com/MattHoneycutt","followers_url":"https://api.github.com/users/MattHoneycutt/followers","following_url":"https://api.github.com/users/MattHoneycutt/following{/other_user}","gists_url":"https://api.github.com/users/MattHoneycutt/gists{/gist_id}","starred_url":"https://api.github.com/users/MattHoneycutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattHoneycutt/subscriptions","organizations_url":"https://api.github.com/users/MattHoneycutt/orgs","repos_url":"https://api.github.com/users/MattHoneycutt/repos","events_url":"https://api.github.com/users/MattHoneycutt/events{/privacy}","received_events_url":"https://api.github.com/users/MattHoneycutt/received_events","type":"User","site_admin":false},"labels":[{"id":554409496,"url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/labels/waiting-for-clarification","name":"waiting-for-clarification","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-23T16:27:15Z","updated_at":"2017-09-25T13:46:31Z","closed_at":null,"author_association":"NONE","body":"### Description\r\n\r\nI'm using v1.9.7-beta of the plugin. \r\n\r\nThe plugin works fine for Android versions of my app.  However, it seems to fail on iOS.  Updates are applied, but they are rolled back on the next app restart, even though the app was updated correctly.\r\n\r\n### Reproduction\r\n\r\nRun the following command: \r\n\r\ncode-push release-cordova <app name> ios -d Production\r\n\r\nI'm running the following code on both deviceready and on resume:\r\n\r\n        codePush.sync(status => {\r\n            console.log('CodePush sync status changed: ' + status);\r\n        }, {installMode: InstallMode.IMMEDIATE});\r\n\r\nAgain, I can see the new update being installed, but it then rolls back.\r\n\r\nLooking at the release history, I see this:\r\n\r\n![image](https://user-images.githubusercontent.com/156878/30775020-83c68924-a051-11e7-994f-a886c5c282d2.png)\r\n\r\n### Additional Information\r\n\r\n* cordova-plugin-code-push version: 1.9.7-beta\r\n* List of installed plugins: \r\ncordova-plugin-app-event\r\ncordova-plugin-code-push\r\ncordova-plugin-compat\r\ncordova-plugin-device\r\ncordova-plugin-dialogs\r\ncordova-plugin-file\r\ncordova-plugin-file-transfer\r\ncordova-plugin-network-information\r\ncordova-plugin-splashscreen\r\ncordova-plugin-statusbar\r\ncordova-plugin-whitelist\r\ncordova-plugin-zip\r\nphonegap-plugin-push\r\n\r\n* Cordova version:\r\niOS Platform version: 4.4.0\r\nCordova version: 7.0.1\r\n\r\n* iOS Version: 10.2.1\r\n\r\n* Does this reproduce on a debug build or release build?  Both \r\n\r\n* Does this reproduce on a simulator, or only on a physical device?  Physical device\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/comments/331885991","html_url":"https://github.com/Microsoft/cordova-plugin-code-push/issues/298#issuecomment-331885991","issue_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/298","id":331885991,"user":{"login":"MattHoneycutt","id":156878,"avatar_url":"https://avatars3.githubusercontent.com/u/156878?v=4","gravatar_id":"","url":"https://api.github.com/users/MattHoneycutt","html_url":"https://github.com/MattHoneycutt","followers_url":"https://api.github.com/users/MattHoneycutt/followers","following_url":"https://api.github.com/users/MattHoneycutt/following{/other_user}","gists_url":"https://api.github.com/users/MattHoneycutt/gists{/gist_id}","starred_url":"https://api.github.com/users/MattHoneycutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattHoneycutt/subscriptions","organizations_url":"https://api.github.com/users/MattHoneycutt/orgs","repos_url":"https://api.github.com/users/MattHoneycutt/repos","events_url":"https://api.github.com/users/MattHoneycutt/events{/privacy}","received_events_url":"https://api.github.com/users/MattHoneycutt/received_events","type":"User","site_admin":false},"created_at":"2017-09-25T13:46:31Z","updated_at":"2017-09-25T13:46:31Z","author_association":"NONE","body":"I do, I followed the tutorial, so I actually made separate \"apps\" for each platform.  I've double-checked my keys, and they are correct.  "}}
{"actor":{"display_login":"MattHoneycutt"}}