Install an Android Virtual Machine (Through Virtual Device Manager)
Configure the ANDROID_SDK_ROOT environment variable
Clone this repository
Run npm install or yarn install to install dependencies
Run the Android Virtual Machine
Open the project in VS Code or Android Studio and open 2 terminals
Run npm start or yarn start in one terminal
Run npm run android or yarn android in the other terminal
The app should now be running on your Android device
Use as NPM package
Make a new React Native project
Run yarn add file:../pachira-refer-earn or npm install file:../pachira-refer-earn in the new project. (Replace the path with the path to the cloned repository if the new project is not in the same directory as the cloned repository)