React-native-sound: Sound file not getting played when there is space in application name. Got error - "The operation couldn鈥檛 be completed. (OSStatus error -10875.)"

Created on 7 May 2020  路  3Comments  路  Source: zmxv/react-native-sound

:beetle: Sound file not getting played when there is space in iOS application name.Got following error "The operation couldn鈥檛 be completed. (OSStatus error -10875.)"

This issue happening for only iOS.

React native ver : 0.61.4

question

Most helpful comment

https://github.com/zmxv/react-native-sound/issues/304#issuecomment-609375045

new Sound(
'fileName',
encodeURIComponent(Sound.MAIN_BUNDLE),
error => {}
)

This worked for me

All 3 comments

same

https://github.com/zmxv/react-native-sound/issues/304#issuecomment-609375045

new Sound(
'fileName',
encodeURIComponent(Sound.MAIN_BUNDLE),
error => {}
)

This worked for me

Thank you @rezareact. your suggestion worked for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kurokky picture kurokky  路  3Comments

LCD344 picture LCD344  路  5Comments

tanapats picture tanapats  路  3Comments

jacargentina picture jacargentina  路  4Comments

ya-watanabe picture ya-watanabe  路  4Comments