{"action":"closed","issue":{"url":"https://api.github.com/repos/fechanique/cordova-plugin-fcm/issues/62","repository_url":"https://api.github.com/repos/fechanique/cordova-plugin-fcm","labels_url":"https://api.github.com/repos/fechanique/cordova-plugin-fcm/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/fechanique/cordova-plugin-fcm/issues/62/comments","events_url":"https://api.github.com/repos/fechanique/cordova-plugin-fcm/issues/62/events","html_url":"https://github.com/fechanique/cordova-plugin-fcm/issues/62","id":169574937,"number":62,"title":"Unabled to specify the notification icon","user":{"login":"gtribut","id":10416998,"avatar_url":"https://avatars.githubusercontent.com/u/10416998?v=3","gravatar_id":"","url":"https://api.github.com/users/gtribut","html_url":"https://github.com/gtribut","followers_url":"https://api.github.com/users/gtribut/followers","following_url":"https://api.github.com/users/gtribut/following{/other_user}","gists_url":"https://api.github.com/users/gtribut/gists{/gist_id}","starred_url":"https://api.github.com/users/gtribut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtribut/subscriptions","organizations_url":"https://api.github.com/users/gtribut/orgs","repos_url":"https://api.github.com/users/gtribut/repos","events_url":"https://api.github.com/users/gtribut/events{/privacy}","received_events_url":"https://api.github.com/users/gtribut/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-05T10:07:45Z","updated_at":"2016-08-16T10:45:49Z","closed_at":"2016-08-16T10:45:49Z","body":"I'm trying to set the little withe notification icon on Android (test on nexus 5 android 6.0.1), in the doc you specify to put a file named 'fcm_push_icon.png' in the res folder.\r\n\r\nI did it, even try to put it in 'res/icon' or in 'res/icon/android' but icon of the notification in statusbar stay the app icon not my file 'fcm_push_icon.png'. I even try to set different sizes with names 'fcm_push_icon_ldpi.png' .... 'fcm_push_icon-xhdpi.png'.\r\n\r\nIs there something to specify elsewhere ? In config.xml ?\r\nI have tried to had a node <icon src=\"fcm_push_icon.png\"/> but it doesn't work.\r\n\r\nIn my server call, i have the node \r\n```\r\n\"notification\" => array(\r\n\t\"title\" => $title,  //Any value \r\n\t\"body\" => $message,  //Any value \r\n\t\"sound\" => \"default\", //If you want notification sound \r\n\t\"click_action\" => \"FCM_PLUGIN_ACTIVITY\",  //Must be present for Android \r\n\t\"icon\" => \"fcm_push_icon\"  //White icon Android resource \r\n),\r\n```\r\nI'm sure i forgot to specify something somewhere (I'm pretty new to phonegap dev...) but I didn't find where :)\r\n\r\nLast question, which is the size of this icon file ?\r\n"}}
{"actor":{"display_login":"gtribut"}}