This is the repo for the iOS SplitCloud app built with ReactNative and a fork of StreamingKit project.
SplitCloud allows you to share your headphones and listen to two different SoundCloud tracks at the same time using the same device.
Each side gets his own player with independent playlist and volume management.
You can also choose to listen to the same song on both headphones by using the mode selection buttons.
Tap on the track title label to search songs and add them to your playlist.
install deps and link native packages
react-native link react-native-audio-streaming react-native link react-native-device-info react-native link react-native-fs react-native link react-native-store-review
manual install pod inside node_modules/react-native-audio-streaming
cd ios rm -rf Pods rm -rf Podfile.lock pod install
Remove custom compiler flags
Just doubleclick on the RCTWebSocket project in your navigator and remove the flags under build settings > custom compiler flags
unload McAffee if port 8081 is in use
cd /Library/LaunchDaemons sudo launchctl unload com.mcafee.agent.macmn.plist
add the config constants
copy the structure
./config/config.js and edit to set api keys and other configuration constants.
To develop it's node dependecy package egm0121-react-native-audio-streaming use wml tool to watch the cloned project folder, using npm link breaks the packager of react native.
wml add ./egm0121-react-native-audio-streaming ./react-native-demo/node_modules/react-native-audio-streaming wml start