{"action":"opened","issue":{"url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/349","repository_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push","labels_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/349/labels{/name}","comments_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/349/comments","events_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/349/events","html_url":"https://github.com/nordnet/cordova-hot-code-push/issues/349","id":317061608,"number":349,"title":"Issue of refreshing on IOS after the installation is complete","user":{"login":"kekeChang","id":38678165,"avatar_url":"https://avatars3.githubusercontent.com/u/38678165?v=4","gravatar_id":"","url":"https://api.github.com/users/kekeChang","html_url":"https://github.com/kekeChang","followers_url":"https://api.github.com/users/kekeChang/followers","following_url":"https://api.github.com/users/kekeChang/following{/other_user}","gists_url":"https://api.github.com/users/kekeChang/gists{/gist_id}","starred_url":"https://api.github.com/users/kekeChang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kekeChang/subscriptions","organizations_url":"https://api.github.com/users/kekeChang/orgs","repos_url":"https://api.github.com/users/kekeChang/repos","events_url":"https://api.github.com/users/kekeChang/events{/privacy}","received_events_url":"https://api.github.com/users/kekeChang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-24T03:56:38Z","updated_at":"2018-04-24T03:56:38Z","closed_at":null,"author_association":"NONE","body":"Thanks for SandLZ's souce, see [https://github.com/SandLZ/cordova-hot-code-push.git].\r\nI use this chcp plugin in my project and everything works well on Android including three actions: fetch-install-refreshApp.\r\nHowever, the last step of 'refreshApp' on IOS does not works that confused me. When installed over on IOS  the screen splash and nothing changes, but the release in chcp.json has been synchronized to the local device.\r\ncordova info:\r\n`Node version: v8.9.3\r\n\r\nCordova version: 8.0.0\r\n\r\nConfig.xml file: \r\n\r\n<?xml version='1.0' encoding='utf-8'?>\r\n<widget id=\"io.ionic.starter\" version=\"0.0.1\" xmlns=\"http://www.w3.org/ns/widgets\r\n\r\n\" xmlns:cdv=\"http://cordova.apache.org/ns/1.0\">\r\n    <name>MyApp</name>\r\n    <description>An awesome Ionic/Cordova app.</description>\r\n    <author email=\"hi@ionicframework\" href=\"http://ionicframework.com/\">Ionic Framework Team</author>\r\n    <content src=\"index.html\" />\r\n    <access origin=\"*\" />\r\n    <allow-intent href=\"http://*/*\" />\r\n    <allow-intent href=\"https://*/*\" />\r\n    <allow-intent href=\"tel:*\" />\r\n    <allow-intent href=\"sms:*\" />\r\n    <allow-intent href=\"mailto:*\" />\r\n    <allow-intent href=\"geo:*\" />\r\n    <preference name=\"ScrollEnabled\" value=\"false\" />\r\n    <preference name=\"android-minSdkVersion\" value=\"19\" />\r\n    <preference name=\"BackupWebStorage\" value=\"none\" />\r\n    <preference name=\"SplashMaintainAspectRatio\" value=\"true\" />\r\n    <preference name=\"FadeSplashScreenDuration\" value=\"300\" />\r\n    <preference name=\"SplashShowOnlyFirstTime\" value=\"false\" />\r\n    <preference name=\"SplashScreen\" value=\"screen\" />\r\n    <preference name=\"SplashScreenDelay\" value=\"3000\" />\r\n    <platform name=\"android\">\r\n        <allow-intent href=\"market:*\" />\r\n        <icon density=\"ldpi\" src=\"resources/android/icon/drawable-ldpi-icon.png\" />\r\n        <icon density=\"mdpi\" src=\"resources/android/icon/drawable-mdpi-icon.png\" />\r\n        <icon density=\"hdpi\" src=\"resources/android/icon/drawable-hdpi-icon.png\" />\r\n        <icon density=\"xhdpi\" src=\"resources/android/icon/drawable-xhdpi-icon.png\" />\r\n        <icon density=\"xxhdpi\" src=\"resources/android/icon/drawable-xxhdpi-icon.png\" />\r\n        <icon density=\"xxxhdpi\" src=\"resources/android/icon/drawable-xxxhdpi-icon.png\" />\r\n        <splash density=\"land-ldpi\" src=\"resources/android/splash/drawable-land-ldpi-screen.png\" />\r\n        <splash density=\"land-mdpi\" src=\"resources/android/splash/drawable-land-mdpi-screen.png\" />\r\n        <splash density=\"land-hdpi\" src=\"resources/android/splash/drawable-land-hdpi-screen.png\" />\r\n        <splash density=\"land-xhdpi\" src=\"resources/android/splash/drawable-land-xhdpi-screen.png\" />\r\n        <splash density=\"land-xxhdpi\" src=\"resources/android/splash/drawable-land-xxhdpi-screen.png\" />\r\n        <splash density=\"land-xxxhdpi\" src=\"resources/android/splash/drawable-land-xxxhdpi-screen.png\" />\r\n        <splash density=\"port-ldpi\" src=\"resources/android/splash/drawable-port-ldpi-screen.png\" />\r\n        <splash density=\"port-mdpi\" src=\"resources/android/splash/drawable-port-mdpi-screen.png\" />\r\n        <splash density=\"port-hdpi\" src=\"resources/android/splash/drawable-port-hdpi-screen.png\" />\r\n        <splash density=\"port-xhdpi\" src=\"resources/android/splash/drawable-port-xhdpi-screen.png\" />\r\n        <splash density=\"port-xxhdpi\" src=\"resources/android/splash/drawable-port-xxhdpi-screen.png\" />\r\n        <splash density=\"port-xxxhdpi\" src=\"resources/android/splash/drawable-port-xxxhdpi-screen.png\" />\r\n    </platform>\r\n\t<platform name=\"ios\">\r\n        <allow-intent href=\"itms:*\" />\r\n        <allow-intent href=\"itms-apps:*\" />\r\n        <icon height=\"57\" src=\"resources/ios/icon/icon.png\" width=\"57\" />\r\n        <icon height=\"114\" src=\"resources/ios/icon/icon@2x.png\" width=\"114\" />\r\n        <icon height=\"40\" src=\"resources/ios/icon/icon-40.png\" width=\"40\" />\r\n        <icon height=\"80\" src=\"resources/ios/icon/icon-40@2x.png\" width=\"80\" />\r\n        <icon height=\"120\" src=\"resources/ios/icon/icon-40@3x.png\" width=\"120\" />\r\n        <icon height=\"50\" src=\"resources/ios/icon/icon-50.png\" width=\"50\" />\r\n        <icon height=\"100\" src=\"resources/ios/icon/icon-50@2x.png\" width=\"100\" />\r\n        <icon height=\"60\" src=\"resources/ios/icon/icon-60.png\" width=\"60\" />\r\n        <icon height=\"120\" src=\"resources/ios/icon/icon-60@2x.png\" width=\"120\" />\r\n        <icon height=\"180\" src=\"resources/ios/icon/icon-60@3x.png\" width=\"180\" />\r\n        <icon height=\"72\" src=\"resources/ios/icon/icon-72.png\" width=\"72\" />\r\n        <icon height=\"144\" src=\"resources/ios/icon/icon-72@2x.png\" width=\"144\" />\r\n        <icon height=\"76\" src=\"resources/ios/icon/icon-76.png\" width=\"76\" />\r\n        <icon height=\"152\" src=\"resources/ios/icon/icon-76@2x.png\" width=\"152\" />\r\n        <icon height=\"167\" src=\"resources/ios/icon/icon-83.5@2x.png\" width=\"167\" />\r\n        <icon height=\"29\" src=\"resources/ios/icon/icon-small.png\" width=\"29\" />\r\n        <icon height=\"58\" src=\"resources/ios/icon/icon-small@2x.png\" width=\"58\" />\r\n        <icon height=\"87\" src=\"resources/ios/icon/icon-small@3x.png\" width=\"87\" />\r\n        <icon height=\"1024\" src=\"resources/ios/icon/icon-1024.png\" width=\"1024\" />\r\n        <splash height=\"1136\" src=\"resources/ios/splash/Default-568h@2x~iphone.png\" width=\"640\" />\r\n        <splash height=\"1334\" src=\"resources/ios/splash/Default-667h.png\" width=\"750\" />\r\n        <splash height=\"2208\" src=\"resources/ios/splash/Default-736h.png\" width=\"1242\" />\r\n        <splash height=\"1242\" src=\"resources/ios/splash/Default-Landscape-736h.png\" width=\"2208\" />\r\n        <splash height=\"1536\" src=\"resources/ios/splash/Default-Landscape@2x~ipad.png\" width=\"2048\" />\r\n        <splash height=\"2048\" src=\"resources/ios/splash/Default-Landscape@~ipadpro.png\" width=\"2732\" />\r\n        <splash height=\"768\" src=\"resources/ios/splash/Default-Landscape~ipad.png\" width=\"1024\" />\r\n        <splash height=\"2048\" src=\"resources/ios/splash/Default-Portrait@2x~ipad.png\" width=\"1536\" />\r\n        <splash height=\"2732\" src=\"resources/ios/splash/Default-Portrait@~ipadpro.png\" width=\"2048\" />\r\n        <splash height=\"1024\" src=\"resources/ios/splash/Default-Portrait~ipad.png\" width=\"768\" />\r\n        <splash height=\"960\" src=\"resources/ios/splash/Default@2x~iphone.png\" width=\"640\" />\r\n        <splash height=\"480\" src=\"resources/ios/splash/Default~iphone.png\" width=\"320\" />\r\n        <splash height=\"2732\" src=\"resources/ios/splash/Default@2x~universal~anyany.png\" width=\"2732\" />\r\n    </platform>\r\n    <plugin name=\"cordova-plugin-whitelist\" spec=\"^1.3.3\" />\r\n    <plugin name=\"cordova-plugin-device\" spec=\"^2.0.1\" />\r\n    <plugin name=\"cordova-plugin-splashscreen\" spec=\"^5.0.2\" />\r\n    <plugin name=\"cordova-plugin-ionic-webview\" spec=\"^1.2.0\" />\r\n    <plugin name=\"cordova-plugin-ionic-keyboard\" spec=\"^2.0.5\" />\r\n    <plugin name=\"cordova-plugin-network-information\" spec=\"^2.0.1\" />\r\n    <plugin name=\"cordova-plugin-android-permissions\" spec=\"^1.0.0\" />\r\n    <chcp>\r\n        <auto-download enabled=\"false\" />\r\n        <auto-install enabled=\"false\" />\r\n        <config-file url=\"http://url/app_ios/www/chcp.json\" />\r\n    </chcp>\r\n    <plugin name=\"cordova-plugin-market\" spec=\"^1.2.0\" />\r\n    <plugin name=\"cordova-plugin-nativestorage\" spec=\"^2.3.1\" />\r\n    <plugin name=\"cordova-plugin-inappbrowser\" spec=\"^3.0.0\" />\r\n    <plugin name=\"cordova-plugin-app-version\" spec=\"^0.1.9\" />\r\n    <plugin name=\"cordova-hot-code-push-plugin\" spec=\"https://github.com/SandLZ/cordova-hot-code-push.git\" />\r\n    <engine name=\"ios\" spec=\"4.5.4\" />\r\n</widget>\r\n\r\n\r\nPlugins: \r\n\r\ncordova-hot-code-push-plugin,cordova-plugin-android-permissions,cordova-plugin-app-version,cordova-plugin-device,cordova-plugin-inappbrowser,cordova-plugin-ionic-keyboard,cordova-plugin-ionic-webview,cordova-plugin-market,cordova-plugin-nativestorage,cordova-plugin-network-information,cordova-plugin-splashscreen,cordova-plugin-whitelist\r\n\r\niOS platform:\r\n\r\nXcode 9.3\r\nBuild version 9E145\r\n`\r\n"}}
{"actor":{"display_login":"kekeChang"}}