johnsonsu/react-native-sound-player

Invariant Violation with IoS

rjapenga opened this issue · 0 comments

I am just starting to use react-native-sound-player - so if this is something obvious, forgive me.

I am using all of the latest react-native libraries. (as of 10/5/2022)

This line of code creates an invariant violation on IoS but not Android (also you should know that my IoS is 12.5.6.
import SoundPlayer from 'react-native-sound-player';
and obviously when I try to use SoundPlayer, I have issues. Commenting them out causes the error to go away.

I am running the latest version of expo and and installed the latest version of react-native-sound-player.

Any ideas what is going on.

Thanks in advance.