-
Fork this repository and clone it to your local machine.
git clone https://github.com/Crossbell-Box/xLog-mobile.git
-
We recommend installing ni to help switching between repos using different package managers.
npm install @antfu/ni --global
-
Duplicate
.env.example
and rename it to.env.common
.cp .env.example .env.common
Generate types for environment variables.
nr generate-env-types
-
Create
.env.development
,.env.test
and.env.production
files and fill theAPP_HOST
variable for various environments.NAKED_APP_HOST=xlog.app APP_HOST=https://xlog.app NAKED_OIA_HOST=oia.xlog.app OIA_HOST=https://oia.xlog.app
-
Install dependencies
ni
-
Prebuild the project
nr prebuild:development
-
Start the app
# If you want to run on your real device, you need to add `-d` flag. nr ios nr android
xLog-preview
will be released with preview version when PR merged tomain
branch andxLog
will be submit to App Store when we think it's ready.
- Create a new changeset via
npx changeset
. - PR to
develop
branch.
- Major (DO NOT BUMP)
- Minor (Native code changes)
- Patch (JS code changes)