diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d4d6c4b4..d8aa73ab 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,10 +2,10 @@ > We will publish the preview version of the app for testing, and once the PR is merged into the main branch, we will release it to the app store. 🚀 - Fork it. -- Submit PR to `staging` branch. +- Submit PR to `develop` branch. ## Changeset - Major (DO NOT BUMP) - Minor (Native code changes) -- Patch (Non-native code changes) \ No newline at end of file +- Patch (JS code changes) \ No newline at end of file diff --git a/README.md b/README.md index 83ba5b12..6fcf1bba 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # xLog-mobile -

- WIP 🟡 -

- > Mobile app for the first on-chain and open-source blogging platform for everyone. -[![Discord](https://img.shields.io/badge/chat-Discord-5865F2.svg?logo=discord&style=flat-square)](https://discord.gg/46VJMMVCuF)  [![Twitter](https://img.shields.io/badge/Twitter-@_xLog-1d9bf0.svg?logo=twitter&style=flat-square)](https://twitter.com/_xLog)  [![build](https://img.shields.io/github/actions/workflow/status/Crossbell-Box/xLog/docker-build-push-prod.yml?logo=github&style=flat-square)](https://github.com/Crossbell-Box/xLog/actions/workflows/docker-build-push.yml) +[![Discord](https://img.shields.io/badge/chat-Discord-5865F2.svg?logo=discord&style=flat-square)](https://discord.gg/46VJMMVCuF)  [![Twitter](https://img.shields.io/badge/Twitter-@_xLog-1d9bf0.svg?logo=twitter&style=flat-square)](https://twitter.com/_xLog)  [![build](https://img.shields.io/github/actions/workflow/status/Crossbell-Box/xLog/docker-build-push-prod.yml?logo=github&style=flat-square)](https://github.com/Crossbell-Box/xLog/actions/workflows/docker-build-push.yml)  [![iOS Download](https://img.shields.io/badge/iOS-Download-000000?style=flat-square&logo=apple)](https://apps.apple.com/cn/app/xlog-on-chain-blogging/id6449499296)  [![Android Download](https://img.shields.io/badge/Android-Download-3DDC84?style=flat-square&logo=android)](https://play.google.com/store/apps/details?id=com.crossbell.xlog) + +

+ +

## Development @@ -54,13 +54,15 @@ - Prebuild the project ```sh - nr prebuild + nr prebuild:dev ``` - Start the app - + ```sh - nr ios/android # If you want to run on your real device, you need to add `-d` flag. + # If you want to run on your real device, you need to add `-d` flag. + nr ios + nr android ``` ### Publishing diff --git a/assets/download-qrcode.png b/assets/download-qrcode.png new file mode 100644 index 00000000..84d29099 Binary files /dev/null and b/assets/download-qrcode.png differ diff --git a/scripts/set-app-config-env.js b/scripts/set-app-config-env.js index c531cb3a..92a0c8bb 100644 --- a/scripts/set-app-config-env.js +++ b/scripts/set-app-config-env.js @@ -18,7 +18,7 @@ function setAppConfigEnv() { console.log("ENV:", ENV); const SCHEME = process.env.APP_SCHEME; - const HOST = process.env.APP_HOST; + const HOST = process.env.APP_HOST ?? "xlog.app"; const envConfig = { development: {