{"action":"created","issue":{"url":"https://api.github.com/repos/react-native-kit/react-native-track-player/issues/235","repository_url":"https://api.github.com/repos/react-native-kit/react-native-track-player","labels_url":"https://api.github.com/repos/react-native-kit/react-native-track-player/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/react-native-kit/react-native-track-player/issues/235/comments","events_url":"https://api.github.com/repos/react-native-kit/react-native-track-player/issues/235/events","html_url":"https://github.com/react-native-kit/react-native-track-player/pull/235","id":344539973,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzOTExNDQ1","number":235,"title":"IOS - Allow local files from static server.","user":{"login":"tbatch92","id":14150350,"node_id":"MDQ6VXNlcjE0MTUwMzUw","avatar_url":"https://avatars2.githubusercontent.com/u/14150350?v=4","gravatar_id":"","url":"https://api.github.com/users/tbatch92","html_url":"https://github.com/tbatch92","followers_url":"https://api.github.com/users/tbatch92/followers","following_url":"https://api.github.com/users/tbatch92/following{/other_user}","gists_url":"https://api.github.com/users/tbatch92/gists{/gist_id}","starred_url":"https://api.github.com/users/tbatch92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbatch92/subscriptions","organizations_url":"https://api.github.com/users/tbatch92/orgs","repos_url":"https://api.github.com/users/tbatch92/repos","events_url":"https://api.github.com/users/tbatch92/events{/privacy}","received_events_url":"https://api.github.com/users/tbatch92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-25T17:38:06Z","updated_at":"2018-07-27T18:16:50Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/react-native-kit/react-native-track-player/pulls/235","html_url":"https://github.com/react-native-kit/react-native-track-player/pull/235","diff_url":"https://github.com/react-native-kit/react-native-track-player/pull/235.diff","patch_url":"https://github.com/react-native-kit/react-native-track-player/pull/235.patch"},"body":"Local files might be located on a static server (eg using https://www.npmjs.com/package/react-native-static-server). In these cases the file will not be prefixed with file:// but are still playable with a network connection."},"comment":{"url":"https://api.github.com/repos/react-native-kit/react-native-track-player/issues/comments/408499011","html_url":"https://github.com/react-native-kit/react-native-track-player/pull/235#issuecomment-408499011","issue_url":"https://api.github.com/repos/react-native-kit/react-native-track-player/issues/235","id":408499011,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODQ5OTAxMQ==","user":{"login":"tbatch92","id":14150350,"node_id":"MDQ6VXNlcjE0MTUwMzUw","avatar_url":"https://avatars2.githubusercontent.com/u/14150350?v=4","gravatar_id":"","url":"https://api.github.com/users/tbatch92","html_url":"https://github.com/tbatch92","followers_url":"https://api.github.com/users/tbatch92/followers","following_url":"https://api.github.com/users/tbatch92/following{/other_user}","gists_url":"https://api.github.com/users/tbatch92/gists{/gist_id}","starred_url":"https://api.github.com/users/tbatch92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbatch92/subscriptions","organizations_url":"https://api.github.com/users/tbatch92/orgs","repos_url":"https://api.github.com/users/tbatch92/repos","events_url":"https://api.github.com/users/tbatch92/events{/privacy}","received_events_url":"https://api.github.com/users/tbatch92/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T18:16:50Z","updated_at":"2018-07-27T18:16:50Z","author_association":"NONE","body":"A use case of a recent project was playing downloaded HLS tracks. \r\n\r\nThe problem we ran into was if completely offline (no wifi or mobile data) the track would not be played at all if you were \"adding\". However if the track was added whilst online, it would still play after the connection was turned off. \r\n\r\nSeems to be attributed to [line 95 here](https://github.com/react-native-kit/react-native-track-player/blob/dev/ios/RNTrackPlayer/Vendor/AudioPlayer/player/AudioPlayer.swift), which checks if you're online or if the URL is flagged as 'isLocal'."}}
{"actor":{"display_login":"tbatch92"}}