XenForo native app for Android & iOS using React Native
This is NOT official app by XenForo Company.
- 1.5.x
- 2.0.x
- 2.1.x (not ready yet)
Step1: You must be install brew by running the following command:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Step 2: Install NodeJS and other tools by running the following command:
brew install node watch
To make sure the install was successfully just run a few commands to verify it:
node -v
: Should be output the version of nodenpm -v
: Should be output the version of NPM
Step 3: Install react-native cli in global
npm install -g react-native-cli
Step 4: Go to project and run it:
cd /path/to/this/repo && npm run ios
Step 1: You must be install chocolatey, a popular package manager for Windows.
Step 2: Install NodeJS and some other tools
choco install -y nodejs.install python2 jdk8
Step 3: Install react-native cli in global
npm install -g react-native-cli
Step 4: Go to project and run it:
cd /path/to/this/repo && npm run android
On Window you can only run android
simulator
Create new file Config.js
and save to /src/
directory.
There are example:
export const CLIENT_ID = "";
export const CLIENT_SECRET = "";
export const BASE_URL = "";
Please follow official document: Running on device
Your forum must installed this add-on: https://github.com/xfrocks/bdApi at branch xenforo2
(this repo for dev only).
If you are not developer you can download the add-on for install at: https://xfrocks.com/resources/bd-api-for-xenforo-2-0.36/
Before create an PR you may run the file devhelper--precommit.sh
and resolve all issues if have.