{"action":"created","issue":{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/27","repository_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation","labels_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/27/comments","events_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/27/events","html_url":"https://github.com/mauron85/cordova-plugin-background-geolocation/issues/27","id":127744358,"number":27,"title":"Issues with using custom ICon","user":{"login":"netbitsolutions","id":15251775,"avatar_url":"https://avatars.githubusercontent.com/u/15251775?v=3","gravatar_id":"","url":"https://api.github.com/users/netbitsolutions","html_url":"https://github.com/netbitsolutions","followers_url":"https://api.github.com/users/netbitsolutions/followers","following_url":"https://api.github.com/users/netbitsolutions/following{/other_user}","gists_url":"https://api.github.com/users/netbitsolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/netbitsolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netbitsolutions/subscriptions","organizations_url":"https://api.github.com/users/netbitsolutions/orgs","repos_url":"https://api.github.com/users/netbitsolutions/repos","events_url":"https://api.github.com/users/netbitsolutions/events{/privacy}","received_events_url":"https://api.github.com/users/netbitsolutions/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-20T17:49:59Z","updated_at":"2016-04-15T17:56:32Z","closed_at":"2016-02-03T16:07:59Z","body":"Hi, when i define the custom icon notificationIcon : res://icon.png   or even in the drawable folder, the pulgin works in a very unexpected way by over writing the notificationTitle  and notificationText to the default name of the App, once you click on the notification, the takes to to RUNNING APPS program.\r\n\r\nWhat is the standard way of defining and setting the custom Icon"},"comment":{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/comments/210565039","html_url":"https://github.com/mauron85/cordova-plugin-background-geolocation/issues/27#issuecomment-210565039","issue_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/27","id":210565039,"user":{"login":"pugwonk","id":224233,"avatar_url":"https://avatars.githubusercontent.com/u/224233?v=3","gravatar_id":"","url":"https://api.github.com/users/pugwonk","html_url":"https://github.com/pugwonk","followers_url":"https://api.github.com/users/pugwonk/followers","following_url":"https://api.github.com/users/pugwonk/following{/other_user}","gists_url":"https://api.github.com/users/pugwonk/gists{/gist_id}","starred_url":"https://api.github.com/users/pugwonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pugwonk/subscriptions","organizations_url":"https://api.github.com/users/pugwonk/orgs","repos_url":"https://api.github.com/users/pugwonk/repos","events_url":"https://api.github.com/users/pugwonk/events{/privacy}","received_events_url":"https://api.github.com/users/pugwonk/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T17:56:32Z","updated_at":"2016-04-15T17:56:32Z","body":"I have this exact same problem. If I use:\r\n\r\n```\r\nnotificationTitle: 'MyApp',\r\nnotificationText: 'MyApp is continuing to track your location',\r\n\r\n```\r\nThen the notification gets that correct title and text. If I change it to:\r\n\r\n```\r\nnotificationIcon: 'icon',\r\nnotificationTitle: 'MyApp',\r\nnotificationText: 'MyApp is continuing to track your location',\r\n\r\n```\r\nThen the icon appears as desired, but the text changes to what netbitsolutions mentions. The icon is definitely available (it appears fine)."}}