{"action":"created","issue":{"url":"https://api.github.com/repos/intercom/intercom-android/issues/264","repository_url":"https://api.github.com/repos/intercom/intercom-android","labels_url":"https://api.github.com/repos/intercom/intercom-android/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/intercom/intercom-android/issues/264/comments","events_url":"https://api.github.com/repos/intercom/intercom-android/issues/264/events","html_url":"https://github.com/intercom/intercom-android/issues/264","id":178710947,"number":264,"title":"Please support vector drawables for intercom_push_icon","user":{"login":"jahunt1","id":8252819,"avatar_url":"https://avatars.githubusercontent.com/u/8252819?v=3","gravatar_id":"","url":"https://api.github.com/users/jahunt1","html_url":"https://github.com/jahunt1","followers_url":"https://api.github.com/users/jahunt1/followers","following_url":"https://api.github.com/users/jahunt1/following{/other_user}","gists_url":"https://api.github.com/users/jahunt1/gists{/gist_id}","starred_url":"https://api.github.com/users/jahunt1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jahunt1/subscriptions","organizations_url":"https://api.github.com/users/jahunt1/orgs","repos_url":"https://api.github.com/users/jahunt1/repos","events_url":"https://api.github.com/users/jahunt1/events{/privacy}","received_events_url":"https://api.github.com/users/jahunt1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-22T20:22:26Z","updated_at":"2016-09-22T20:52:11Z","closed_at":null,"body":"Almost all of my drawables in the application are vector drawable files. It would be nice if I didn't have to include more PNGs in the application.\r\n\r\n## Version info\r\n  - Intercom for Android version: intercom-sdk-base-transitive-3.0.9, intercom-sdk-gcm:3.0.9\r\n  - Android OS version: 7.0, API 24\r\n  - Android Device: Nexus 5x (LG H790)\r\n\r\n## Expected behavior\r\nI expect the push notification to use my vector drawable titled intercom_push_icon.xml\r\n## Actual behavior\r\nThe push notification uses the default intercom_push_icon.png from the packaged SDK.\r\n## Steps to reproduce\r\n 1. Add an Android vector file in the res/drawable directory with the title intercom_push_icon.xml\r\n 2. Build and launch the application\r\n 3. Log in to the application\r\n 4. Send a message to the logged in mobile user from the Intercom web dashboard.\r\n 5. Observe that the Android notification uses the default icon."},"comment":{"url":"https://api.github.com/repos/intercom/intercom-android/issues/comments/249024405","html_url":"https://github.com/intercom/intercom-android/issues/264#issuecomment-249024405","issue_url":"https://api.github.com/repos/intercom/intercom-android/issues/264","id":249024405,"user":{"login":"jahunt1","id":8252819,"avatar_url":"https://avatars.githubusercontent.com/u/8252819?v=3","gravatar_id":"","url":"https://api.github.com/users/jahunt1","html_url":"https://github.com/jahunt1","followers_url":"https://api.github.com/users/jahunt1/followers","following_url":"https://api.github.com/users/jahunt1/following{/other_user}","gists_url":"https://api.github.com/users/jahunt1/gists{/gist_id}","starred_url":"https://api.github.com/users/jahunt1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jahunt1/subscriptions","organizations_url":"https://api.github.com/users/jahunt1/orgs","repos_url":"https://api.github.com/users/jahunt1/repos","events_url":"https://api.github.com/users/jahunt1/events{/privacy}","received_events_url":"https://api.github.com/users/jahunt1/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T20:52:11Z","updated_at":"2016-09-22T20:52:11Z","body":"Better yet, allow using a resource alias. This would be preferable since I already have a drawable that is used for the notification logo.\r\n```\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<resources xmlns:tools = \"http://schemas.android.com/tools\">\r\n    <item name=\"intercom_push_icon\" type=\"drawable\" tools:override=\"true\">@drawable/ic_notification_logo</item>\r\n</resources>\r\n```"}}
{"actor":{"display_login":"jahunt1"}}