A minimal working example project for React-Native-Native-Audio-Recorder.
-
Clone the project via the following command:
$ git clone git@github.com:audvice/react-native-audio-recorder-example-project.git
-
Change into the cloned directory:
$ cd react-native-audio-recorder-example-project/
-
Install NPM packages:
$ npm install
-
Follow carefully the instructions of react-native-native-audio-recorder Readme for integrating the audio recorder module.
-
Ensure that all packages are correctly linked by running:
react-native link
-
Open the project inside the ios folder in xCode:
RNNativeAudioRecorderExample.xcodeproj
-
Go to Project -> General and check if the correct signing profile is set.
-
Build the project by pressing the Build button
-
Open android folder with IntelliJ/AndroidStudio/etc.
-
Gradle should automatically start to build the dependencies, if not start it manually.
-
Build the project by running the following command in the root folder of the project:
react-native run-android