{"action":"created","issue":{"url":"https://api.github.com/repos/homerours/cordova-music-controls-plugin/issues/24","labels_url":"https://api.github.com/repos/homerours/cordova-music-controls-plugin/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/homerours/cordova-music-controls-plugin/issues/24/comments","events_url":"https://api.github.com/repos/homerours/cordova-music-controls-plugin/issues/24/events","html_url":"https://github.com/homerours/cordova-music-controls-plugin/issues/24","id":124197460,"number":24,"title":"App just crash android 5.1","user":{"login":"sdkcarlos","id":11634719,"avatar_url":"https://avatars.githubusercontent.com/u/11634719?v=3","gravatar_id":"","url":"https://api.github.com/users/sdkcarlos","html_url":"https://github.com/sdkcarlos","followers_url":"https://api.github.com/users/sdkcarlos/followers","following_url":"https://api.github.com/users/sdkcarlos/following{/other_user}","gists_url":"https://api.github.com/users/sdkcarlos/gists{/gist_id}","starred_url":"https://api.github.com/users/sdkcarlos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdkcarlos/subscriptions","organizations_url":"https://api.github.com/users/sdkcarlos/orgs","repos_url":"https://api.github.com/users/sdkcarlos/repos","events_url":"https://api.github.com/users/sdkcarlos/events{/privacy}","received_events_url":"https://api.github.com/users/sdkcarlos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-29T11:25:16Z","updated_at":"2016-01-01T15:32:42Z","closed_at":"2016-01-01T15:31:51Z","body":"Trying the following code (and everything ... after the device is ready obviously) in android 5.1 doesn't work :( the app just crashes\r\n\r\n```javascript\r\nMusicControls.create({\r\n    track       : 'Time is Running Out',        // optional, default : ''\r\n    artist      : 'Muse',                       // optional, default : ''\r\n    //cover       : 'albums/absolution.jpg',      // optional, default : nothing\r\n    isPlaying   : true,                         // optional, default : true\r\n    dismissable : true,                         // optional, default : false\r\n\r\n    // hide previous/next/close buttons:\r\n    hasPrev   : false,      // show previous button, optional, default: true\r\n    hasNext   : false,      // show next button, optional, default: true\r\n    hasClose  : true,       // show close button, optional, default: false\r\n\r\n    // Android only, optional\r\n    // text displayed in the status bar when the notification (and the ticker) are updated\r\n    //ticker    : 'Now playing \"Time is Running Out\"'\r\n});\r\n```\r\n\r\nIs this version of android unsupported ?"},"comment":{"url":"https://api.github.com/repos/homerours/cordova-music-controls-plugin/issues/comments/168313197","html_url":"https://github.com/homerours/cordova-music-controls-plugin/issues/24#issuecomment-168313197","issue_url":"https://api.github.com/repos/homerours/cordova-music-controls-plugin/issues/24","id":168313197,"user":{"login":"homerours","id":12702557,"avatar_url":"https://avatars.githubusercontent.com/u/12702557?v=3","gravatar_id":"","url":"https://api.github.com/users/homerours","html_url":"https://github.com/homerours","followers_url":"https://api.github.com/users/homerours/followers","following_url":"https://api.github.com/users/homerours/following{/other_user}","gists_url":"https://api.github.com/users/homerours/gists{/gist_id}","starred_url":"https://api.github.com/users/homerours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homerours/subscriptions","organizations_url":"https://api.github.com/users/homerours/orgs","repos_url":"https://api.github.com/users/homerours/repos","events_url":"https://api.github.com/users/homerours/events{/privacy}","received_events_url":"https://api.github.com/users/homerours/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T15:32:42Z","updated_at":"2016-01-01T15:32:42Z","body":"I had the same issue on 5.1, I fixed it."}}