{"action":"created","issue":{"url":"https://api.github.com/repos/expo/expo/issues/1473","repository_url":"https://api.github.com/repos/expo/expo","labels_url":"https://api.github.com/repos/expo/expo/issues/1473/labels{/name}","comments_url":"https://api.github.com/repos/expo/expo/issues/1473/comments","events_url":"https://api.github.com/repos/expo/expo/issues/1473/events","html_url":"https://github.com/expo/expo/issues/1473","id":300552074,"number":1473,"title":"Audio will be silently on playAsync() immediately after  stopAsync()","user":{"login":"watanabeyu","id":6455904,"avatar_url":"https://avatars2.githubusercontent.com/u/6455904?v=4","gravatar_id":"","url":"https://api.github.com/users/watanabeyu","html_url":"https://github.com/watanabeyu","followers_url":"https://api.github.com/users/watanabeyu/followers","following_url":"https://api.github.com/users/watanabeyu/following{/other_user}","gists_url":"https://api.github.com/users/watanabeyu/gists{/gist_id}","starred_url":"https://api.github.com/users/watanabeyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watanabeyu/subscriptions","organizations_url":"https://api.github.com/users/watanabeyu/orgs","repos_url":"https://api.github.com/users/watanabeyu/repos","events_url":"https://api.github.com/users/watanabeyu/events{/privacy}","received_events_url":"https://api.github.com/users/watanabeyu/received_events","type":"User","site_admin":false},"labels":[{"id":598255371,"url":"https://api.github.com/repos/expo/expo/labels/project:%20sdk","name":"project: sdk","color":"d4c5f9","default":false},{"id":598164567,"url":"https://api.github.com/repos/expo/expo/labels/status:%20needs%20more%20info","name":"status: needs more info","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-27T09:27:14Z","updated_at":"2018-02-28T02:46:55Z","closed_at":null,"author_association":"NONE","body":"### Environment\r\n\r\nin iOS target.\r\n\r\nEnvironment:\r\n  OS: macOS Sierra 10.12.6\r\n  Node: 8.2.1\r\n  Yarn: 0.27.5\r\n  npm: 5.3.0\r\n  Watchman: 4.7.0\r\n  Xcode: Xcode 9.2 Build version 9C40b\r\n  Android Studio: 2.3 AI-162.4069837\r\n\r\nPackages: (wanted => installed)\r\n  expo: ^25.0.0 => 25.0.0\r\n  react: 16.2.0 => 16.2.0\r\n  react-native: https://github.com/expo/react-native/archive/sdk-25.0.0.tar.gz => 0.52.0\r\n\r\n### Steps to Reproduce\r\n\r\n1. Audio.setAudioModeAsync() on componentDidMount()\r\n```js\r\nAudio.setAudioModeAsync({\r\n  allowsRecordingIOS: false,\r\n  interruptionModeIOS: Audio.INTERRUPTION_MODE_IOS_DO_NOT_MIX,\r\n  playsInSilentModeIOS: true,\r\n  shouldDuckAndroid: true,\r\n  interruptionModeAndroid: Audio.INTERRUPTION_MODE_ANDROID_DO_NOT_MIX,\r\n});\r\n```\r\n2. Press play button\r\n  * if not loaded audio, load from uri `playbackObject.loadAsync({uri:xxx})`\r\n  * play audio `playbackObject.playAsync()`\r\n3. One more press the play button\r\n  * stop audio `playbackObject.stopAsync()`\r\n  * play audio `playbackObject.playAsync()`\r\n\r\n### Expected Behavior\r\n\r\nSound also appears in silent mode\r\n\r\n### Actual Behavior\r\n\r\nIt is silently.\r\n\r\nBut, below is ok.\r\n1. Audio.setAudioModeAsync() on componentDidMount()\r\n2. Press play button\r\n3. Press stop button\r\n4. Press play button\r\n\r\nor \r\n\r\n1. Audio.setAudioModeAsync() on componentDidMount()\r\n2. Press play button1\r\n3. Press play button2\r\n\r\n### Reproducible Demo\r\n\r\nhttps://snack.expo.io/SJdn1jzuM\r\n"},"comment":{"url":"https://api.github.com/repos/expo/expo/issues/comments/369102971","html_url":"https://github.com/expo/expo/issues/1473#issuecomment-369102971","issue_url":"https://api.github.com/repos/expo/expo/issues/1473","id":369102971,"user":{"login":"watanabeyu","id":6455904,"avatar_url":"https://avatars2.githubusercontent.com/u/6455904?v=4","gravatar_id":"","url":"https://api.github.com/users/watanabeyu","html_url":"https://github.com/watanabeyu","followers_url":"https://api.github.com/users/watanabeyu/followers","following_url":"https://api.github.com/users/watanabeyu/following{/other_user}","gists_url":"https://api.github.com/users/watanabeyu/gists{/gist_id}","starred_url":"https://api.github.com/users/watanabeyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watanabeyu/subscriptions","organizations_url":"https://api.github.com/users/watanabeyu/orgs","repos_url":"https://api.github.com/users/watanabeyu/repos","events_url":"https://api.github.com/users/watanabeyu/events{/privacy}","received_events_url":"https://api.github.com/users/watanabeyu/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T02:46:55Z","updated_at":"2018-02-28T02:46:55Z","author_association":"NONE","body":"Hi @esamelson - thanks for reply.\r\n\r\nPlease again below step.\r\nI want to sound appears in silent mode, but sound not appears in step4.\r\n1. Turn sound on iPhone, but silent mode on.\r\n2. Open snack\r\n3. Press music1   <-- sound appears\r\n4. Press again music1   <-- sound not appears\r\n\r\n**my ios environment**\r\n* iphone8\r\n* iOS : 11.0.3\r\n* expo client : latest release(2.3.0)\r\n\r\nThank you and best regards,"}}
{"actor":{"display_login":"watanabeyu"}}