{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1166","repository_url":"https://api.github.com/repos/driftyco/ionic-cli","labels_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1166/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1166/comments","events_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1166/events","html_url":"https://github.com/driftyco/ionic-cli/issues/1166","id":164915715,"number":1166,"title":"Ionic 2 : CLI \"ionic resources\" doesn't generate icon and splashscreen","user":{"login":"brandyscarney","id":6577830,"avatar_url":"https://avatars.githubusercontent.com/u/6577830?v=3","gravatar_id":"","url":"https://api.github.com/users/brandyscarney","html_url":"https://github.com/brandyscarney","followers_url":"https://api.github.com/users/brandyscarney/followers","following_url":"https://api.github.com/users/brandyscarney/following{/other_user}","gists_url":"https://api.github.com/users/brandyscarney/gists{/gist_id}","starred_url":"https://api.github.com/users/brandyscarney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandyscarney/subscriptions","organizations_url":"https://api.github.com/users/brandyscarney/orgs","repos_url":"https://api.github.com/users/brandyscarney/repos","events_url":"https://api.github.com/users/brandyscarney/events{/privacy}","received_events_url":"https://api.github.com/users/brandyscarney/received_events","type":"User","site_admin":false},"labels":[{"id":328205008,"url":"https://api.github.com/repos/driftyco/ionic-cli/labels/platform:android","name":"platform:android","color":"ededed","default":false},{"id":327978861,"url":"https://api.github.com/repos/driftyco/ionic-cli/labels/platform:ios","name":"platform:ios","color":"ededed","default":false},{"id":406368948,"url":"https://api.github.com/repos/driftyco/ionic-cli/labels/resources%20gen","name":"resources gen","color":"5319e7","default":false},{"id":324713942,"url":"https://api.github.com/repos/driftyco/ionic-cli/labels/v2","name":"v2","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":61,"created_at":"2016-07-11T19:32:16Z","updated_at":"2016-11-15T22:33:19Z","closed_at":"2016-10-29T11:40:06Z","body":"_From @pom421 on July 11, 2016 15:12_\n#### Short description of the problem:\n\nWhen i use the CLI and the command :\n\n``` sh\n$ ionic resources\n```\n\nthis is the answer : \n\n```\n(node:8537) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\nIonic icon and splash screen resources generator\n uploading icon.png...\n uploading splash.png...\n```\n\nWhen i inspect the generated code, well, it seems that nothing is generated :  \n- config.xml is not modified \n- resources/android/icon (for example) is not updated with the new icons\n- platforms/android/res/drawable-hdpi (for example) is not updated too\n\nSame thing for iOS for icon and splash. \n\n**Which Ionic Version?** 1.x or 2.x\n\nI use ionic 2.0.0-beta.32 on OS X 10.11.4 (El Capitan).\nI have generated a tutorial project with the CLI like that : \n\n``` sh\n$ ionic start biblio tutorial --v2\n```\n\n_Copied from original issue: driftyco/ionic#7269_\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/comments/260791889","html_url":"https://github.com/driftyco/ionic-cli/issues/1166#issuecomment-260791889","issue_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1166","id":260791889,"user":{"login":"xke","id":3505778,"avatar_url":"https://avatars.githubusercontent.com/u/3505778?v=3","gravatar_id":"","url":"https://api.github.com/users/xke","html_url":"https://github.com/xke","followers_url":"https://api.github.com/users/xke/followers","following_url":"https://api.github.com/users/xke/following{/other_user}","gists_url":"https://api.github.com/users/xke/gists{/gist_id}","starred_url":"https://api.github.com/users/xke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xke/subscriptions","organizations_url":"https://api.github.com/users/xke/orgs","repos_url":"https://api.github.com/users/xke/repos","events_url":"https://api.github.com/users/xke/events{/privacy}","received_events_url":"https://api.github.com/users/xke/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T22:33:19Z","updated_at":"2016-11-15T22:33:19Z","body":"Hi!\r\n\r\nI was able to get \"ionic resources --icon\" to work on the latest Ionic CLI version 2.1.8 and Ionic Framework Version: 2.0.0-rc.2.\r\n\r\nHowever, still could not see the updated icon on the Emulator or the Device -- until after I figured out why. \r\n\r\nMy solution was to replace the icon.png files in the <code>platforms/android/res/mipmap-*</code> folder with the new images. I used makeappicon.com to generate icon files (which I then renamed to icon.png).\r\n\r\nSeems like this is an issue in either Ionic or Cordova. I will file a new issue as relevant.\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"xke"}}