Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Add playThroughEarpieceAndroid default #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add playThroughEarpieceAndroid default #38

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Sep 20, 2018

With

"dependencies": {
    "@expo/videoplayer": "0.4.0",
    "expo": "30.0.1",
    "react": "16.3.1",
    "react-native": "https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz"
}

resolving:

[Unhandled promise rejection: Error: Audio mode attempted to be set without the required keys: ["playThroughEarpieceAndroid"]]
- node_modules/expo/src/av/Audio.js:66:10 in setAudioModeAsync$
...

@chris35469
Copy link

Please accept this.

Copy link

@jcohoon jcohoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This resolves the error.

@staticdreams
Copy link

This is still not merged. Please accept

frusdelion added a commit to harborfront/videoplayer that referenced this pull request Dec 31, 2018
@sheyooo
Copy link

sheyooo commented Feb 17, 2019

Why hasn't this been merged yet?

@ManuelKu1223
Copy link

I have similar issue on my react native project. This issue is:
[Unhandled promise rejection: Error: Audio mode attempted to be set without the required keys: ["playThroughEarpieceAndroid"]]

  • node_modules/expo/tools/hashAssetFiles.js:145729:28 ...

Please help me, How can I fix this issue?
Thanks

@jcohoon
Copy link

jcohoon commented Feb 27, 2019

@kolawoletech did you look at the code in this commit?

ce44a1a

@mtaylor769
Copy link

Can someone merge this?

@cloudSchulze
Copy link

Please, can someone merge this? We need this fix :(

@fweffort
Copy link

fweffort commented Jun 6, 2019

will this be merged soon?

@cruzach
Copy link
Contributor

cruzach commented Jun 7, 2019

Hey everyone, sorry for the long silence here. This repo isn't maintained anymore, so we suggest using https://github.com/ihmpavel/expo-video-player instead (we actually point to this repo anyways in the Expo Video docs)

Again, sorry this repo went silent for so long!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.