Skip to content
项目

关于

A mobile POS app written with Flutter, compatible Sunmi device

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Simple-POS

⚠ Check this out! version 2 is at https://tcd93.github.io/flutter_2 ⚠

❤️❤️ Online Demo for v2❤️❤️

❤️❤️ Online Demo for v1❤️❤️

A mobile POS written in Flutter, suitable for small cafe/restaurant, fully offline.

Tested & printable on Sunmi V1S device.

sunmi_v1s

Support:

  • Android
  • Web (unable to print)
  • English & Vietnamese (auto detect Locale)

Install & Run

Get flutter IMPORTANT: this project works only with Flutter >= 3.10

flutter pub get
flutter run

Running inside WSL2

Use Docker for Destop's Dev Environment (note that usbip over Docker Desktop, as of now, hasn't work; you can try debugging over ADB tcpip)

Or

Run Docker containers inside of WSL2
  1. Build image and run container: docker-compose -f .\compose-dev.yaml up -d --build
  2. SSH inside: docker exec -it flutter_dev bash
  3. Accept licences: flutter doctor --android-licenses
  4. Clean: flutter clean
  5. Run:
    • Web: flutter run -d web-server (Visual studio code should forward the port automatically if you use Remote window)
    • USB-connected Android device: follow the instruction here to connect your phone into WSL2, remember to kill the running ADB server on your Windows host machine first

Testing

flutter test

TODO

  • Remote printing? (via Bluetooth)

探索相关项目

加载中…