{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-native/issues/792","repository_url":"https://api.github.com/repos/driftyco/ionic-native","labels_url":"https://api.github.com/repos/driftyco/ionic-native/issues/792/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-native/issues/792/comments","events_url":"https://api.github.com/repos/driftyco/ionic-native/issues/792/events","html_url":"https://github.com/driftyco/ionic-native/issues/792","id":189090916,"number":792,"title":"docs: NativeAudio play documentation incorrect","user":{"login":"dylanvdmerwe","id":2852839,"avatar_url":"https://avatars.githubusercontent.com/u/2852839?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanvdmerwe","html_url":"https://github.com/dylanvdmerwe","followers_url":"https://api.github.com/users/dylanvdmerwe/followers","following_url":"https://api.github.com/users/dylanvdmerwe/following{/other_user}","gists_url":"https://api.github.com/users/dylanvdmerwe/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanvdmerwe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanvdmerwe/subscriptions","organizations_url":"https://api.github.com/users/dylanvdmerwe/orgs","repos_url":"https://api.github.com/users/dylanvdmerwe/repos","events_url":"https://api.github.com/users/dylanvdmerwe/events{/privacy}","received_events_url":"https://api.github.com/users/dylanvdmerwe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-14T11:36:56Z","updated_at":"2016-11-23T13:05:21Z","closed_at":null,"body":"For the NativeAudio plugin, the example says you use the `play` method like:\r\n\r\n`NativeAudio.play('uniqueId1').then(onSuccess, onError);`\r\n\r\nHowever this is not correct as later on in the docs (and in the TypeScript definitions) the play method takes an additional callback. \r\n\r\n`play(id, completeCallback)`\r\n\r\nhttp://ionicframework.com/docs/v2/native/nativeaudio/"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-native/issues/comments/262507586","html_url":"https://github.com/driftyco/ionic-native/issues/792#issuecomment-262507586","issue_url":"https://api.github.com/repos/driftyco/ionic-native/issues/792","id":262507586,"user":{"login":"ihadeed","id":13794420,"avatar_url":"https://avatars.githubusercontent.com/u/13794420?v=3","gravatar_id":"","url":"https://api.github.com/users/ihadeed","html_url":"https://github.com/ihadeed","followers_url":"https://api.github.com/users/ihadeed/followers","following_url":"https://api.github.com/users/ihadeed/following{/other_user}","gists_url":"https://api.github.com/users/ihadeed/gists{/gist_id}","starred_url":"https://api.github.com/users/ihadeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihadeed/subscriptions","organizations_url":"https://api.github.com/users/ihadeed/orgs","repos_url":"https://api.github.com/users/ihadeed/repos","events_url":"https://api.github.com/users/ihadeed/events{/privacy}","received_events_url":"https://api.github.com/users/ihadeed/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T13:05:21Z","updated_at":"2016-11-23T13:05:21Z","body":"Thanks\r\n\r\nThe callback is actually optional. I just fixed the typing and updated the docs."}}
{"actor":{"display_login":"ihadeed"}}