Code Monkey home page Code Monkey logo

reactdrum's Introduction

ReactDrum

Example project combining JUCE with React Native on iOS and Android

This project was written to accompany a talk presented at the ADC'16 conference. It demonstrates using JUCE to create a custom view in a React Native app.

It uses React Native Navigation for navigation and MobX for state management.

Note

This project is quite out of date, based on now old versions of React Native and React Native Navigation, and also a fork of JUCE 4.3 (current version as of writing is 5.02). To be updated soon..

Installation:

Install podspec-generator: npm install -g podspec-generator

npm install

podspec-generator node_modules/react-native-navigation

For iOS:

cd Builds/iOS

pod install

You must then open the generated workspace project in Xcode.

For Android

Replace node_modules/react-native-navigation/android/app/build.gradle with https://gist.github.com/adamski/c4da6d390142ce5a6c0e95286c248922

Run the packager

The code in this repository was designed to showcase both iOS and Android "Hot Reloading" simultaneously. In order the achieve this I put the iOS version on port 8082. So for iOS, please start it like this:

npm run start-8082

and for Android open up another terminal session and:

npm start

Now you should be able to run both platforms with Hot Reloading!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.