Skip to content

Implementation of the Superpowered audio engine SDK For React Native

Notifications You must be signed in to change notification settings

cynical-media/react-native-superpowered

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-superpowered

Do not use this module yet. This comment will be removed when the module is ready.

Goal

The goal of react-native-superpowered is to use a flexible json interpreter (json.hpp) to quickly and easily add support for Superpowered's SDK in a flexible, cross-platform way.

Typical native react-native modules still require quite a bit of duplicate work, reimplementing an API in both objective-C and java.

Here, we implement only 3 things "natively," in java and objective-C

  • JSON string receiver and sender (note - soon to be updated using JSI for better performance.)
  • Microphone/input device access
  • Output device access

Everything else is done via generic json command which can be dealt with in cross-platform C++.

How to test

git clone https://github.com/cfogelklou/react-native-superpowered-test.git --recursive
cd superpowered_test
yarn install 
cd ios
pod install

Install using npm or yarn

npm install react-native-superpowered --save

Or if you're using yarn:

yarn add react-native-superpowered

It takes about 1~2 minutes to complete installation because it clones SuperpoweredSDK and json

About

Implementation of the Superpowered audio engine SDK For React Native

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 30.3%
  • Objective-C++ 27.2%
  • Java 21.3%
  • Objective-C 10.2%
  • JavaScript 5.3%
  • Ruby 2.2%
  • Other 3.5%