Skip to content

DragVerse/dragverse-mobile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

livepeer-demo-react-native

Demo Video

This is a demo React Native live streaming application built with the Livepeer.com API. It can serve as a starting point for building cross-platform mobile live streaming apps.

Installation

yarn
cd ios && pod install && cd ..

Development

Android

To run on android simulator, use the following command:

yarn android

iOS

In order to use the broadcasting functionality, you'll need to run the app on an actual ios device:

npx react-native run-ios --device DEVICE_NAME

If you just want to run the app in a simulator, everything else should still work as intended with the following command:

yarn ios

Troubleshooting

pod install is failing

If you run into issues running pod install on macOS, try updating with the following command:

sudo gem install -n /usr/local/bin cocoapods

nvm and XCode 12

If you run into issues finding node during build time, you may be a victim of this issue.

Commenting out all of the bash code in node_modules/react-native/scripts/find-node.sh worked for me, but I also have to remember to do it each time I install a new dependency.

Assets aren't loading properly

You may need to run react-native-asset. The docs can be found here.

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 66.8%
  • Java 16.0%
  • Objective-C 11.4%
  • Ruby 2.2%
  • JavaScript 2.1%
  • Starlark 1.5%