Skip to content

fragdenstaat/fds-scanner

Repository files navigation

FragDenStaat Scanner

This is a Tauri 2.0 mobile application using Vue and Ionic Framework.

Project setup

See Tauri Prerequesites

Development

iOS

For development, set to automatic signing in XCode.

pnpm tauri android dev

Distribution

See .env-exmaple for the required environment variables.

Set new version in tauri.conf.json, src-tauri/Cargo.toml and package.json.

iOS

Set XCode project to manual signing, set the correct provisioning profile and associated domains (applinks and webcredentials).

# possibly: pnpm tauri ios init
bash script/build_ios.sh

Android

# possibly: pnpm tauri android init
# pnpm tauri icon public/fds-scanner.png --ios-color "#fff"
bash script/build_ios.sh

Documentation

Login flow with deep link

flowchart TD
    A[Desktop post upload] -->|Scan QR Code| C{Phone has app}
    C -->|App not installed| D[Open web page with App Store Link]
    D -->|Install app| W[Open app]
    W -->|Scan QR Code from app| G[Deep link logs in]
    W -->|Login without QR Code| Y[Requests interface]
    C -->|App installed| E[App opens with deep link]
    E --> F{User logged in?}
    F -->|Not logged in| G
    F -->|Logged in| Z
    Y -->|Find request and message|Z
    G --> Z[Scan]
Loading

About

Scanner app for FragDenStaat to scan and upload letters received from public bodies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •