Skip to content

Latest commit

 

History

History
106 lines (68 loc) · 3.71 KB

README.md

File metadata and controls

106 lines (68 loc) · 3.71 KB

thu-info-app

Build Status GitHub release Platform Android Platform iOS Platform HarmonyOS

An APP aimed at integrating various sources of campus information.

Checkout our official website!

Release

Android:

iOS: App Store

HarmonyOS: AppGallery


If you are a developer...

Build from source

Prerequisites

Android

iOS

Make sure you have Xcode >= 12 installed and the command line tools enabled.

We recommend using Homebrew to install the tools required.

brew install node
brew install yarn
brew install cocoapods
brew install watchman   # optional, install only for higher development performance

HarmonyOS

We recommend following the official docs:

Make sure you have environment variable RNOH_C_API_ARCH=1 set.

Building (Android, iOS)

cd thu-info-app
yarn
yarn android                  # For Android
npx pod-install && yarn ios   # For iOS

Building (HarmonyOS)

cd thu-info-app
./setup-harmony.sh

Open DevEco Studio and sync project.

cd apps/thu-info-app
yarn codegen-harmony
yarn bundle-harmony

Build and run project with DevEco Studio.

Optional: for react-native hot reload

hdc rport tcp:8081 tcp:8081
yarn start

Contributing

Please follow the Contributing guidelines.

Commercial Use

The source code is licenced under Business Source License 1.1, and is not allowed for commercial use unless explicitly granted by UNIDY2002 or after the Change Date arrives.

Acknowledgement

Great thanks to the learnX project, without referring to whose code the migration to React Native would never be as smooth.

Best regards to the JavaScript and the React Native community.