Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add mobile app #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

beaver-expand
Copy link

Introduction

Added Beaver IoT mobile version developed with react-native and Expo, compatible with iOS, Android, and H5, while maintaining consistent performance across platforms.

Download

Android: Download the APK and install it.
iOS: Build and install it yourself.

Features

Basic Features (Existing Beaver IoT Features)

  • User Registration
  • User Login
  • Dashboard Component Management: Add, View, Delete
    • Area Chart
    • Bar Chart
    • Card
    • Horizon Bar Chart
    • Line Chart
    • Pie Chart
    • Switch
  • Dashboard Component Controls
    • Switch
    • Trigger

New Features

  • Username Modification
  • Password Change
  • User Registration with Verification Code

Preview

Preview

Development

Environment

It is recommended to develop in a macOS environment. For setting up the development environment, please refer to Setting Up React Native Development Environment.

Running the Project

To run the project:

  1. Clone the project and install dependencies:
$ git clone https://github.com/beaver-expand/beaver-iot-web.git
$ cd apps/mobile
$ pnpm install
  1. Run the project:
$ pnpm ios # or $ pnpm android

When you see the corresponding Metro waiting on message and a QR code, the project has run successfully!

  1. Build the project:

Note: Before building, ensure that you have an env.local file and the corresponding EXPO_TOKEN.

$ cd apps/mobile
$ pnpm build-ios # or $ pnpm build-android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants