Skip to content

Commit

Permalink
fix: autoplay disabled on android
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud de Mouhy committed Sep 22, 2020
1 parent 00a5ab6 commit 5208883
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ class RadioPlayerModule(reactContext: ReactApplicationContext) : ReactContextBas
UiThreadUtil.runOnUiThread {
val item: MediaItem = MediaItem.fromUri(uri)
player.setMediaItem(item)
player.prepare()
player.play()
//play()
}
}
Expand Down

0 comments on commit 5208883

Please sign in to comment.