Files
pakkit/README.md
T
Meghdad 6e41db2a74 feat: simplify receiving and remove arbitrary limits
- Use fixed port 8787 and reconnect automatically after Wi-Fi loss
- Remove session expiry, APK expiry, size caps, and upload deadlines
- Replace manual keys with watch-approved browser access
- Improve streaming, storage recovery, and resource cleanup
- Preserve explicit Android installation consent
- Document retained safeguards and expand emulator coverage
2026-10-15 19:50:10 +03:30

4.1 KiB
Raw Blame History

Pakkit

Pack it. Send it. Wear it. Give your next app a place on your wrist.

Send an APK from your browser to your Wear OS watch, then approve installation on your watch.

Use

  1. Open Pakkit on a supported watch.
  2. Connect the watch and browser device to the same trusted Wi-Fi.
  3. Tap Start receiving and scan the QR code or open the displayed address. The port is always 8787.
  4. Tap Allow browser on your watch, then choose an APK in the browser. There is no product file-size limit; available storage and Android determine what fits.
  5. Review the app and tap Install on your watch. First-time Allow installs grants source permission and continues the requested installation. Approve it in Android’s installer.
  6. Tap Stop receiving when finished. Receiving has no app-imposed expiry and reconnects when Wi-Fi returns.

The local connection uses unencrypted HTTP. Use trusted Wi-Fi and approve only browsers you recognize. Package inspection checks format and compatibility; it does not certify app safety. Source approval, firmware security policy and Android’s installer determine whether installation is available. Split packages and app bundles are unsupported. See platform constraints.

The current artifacts are development builds. Public distribution requires the checks in release preparation.

Project

Path Responsibility
app The Wear OS application: native watch UI, bundled web interface, private storage, Wi-Fi receiving and installation
qa/fixture Small signed test APK, included only in instrumentation assets
web-tests Optional browser test tooling; nothing from this directory ships in the app
scripts Emulator-only test runner and ADB helpers
docs Architecture, design, development, platform, privacy and release guidance

There is one production module and one test-fixture module. Production has one explicit library dependency: ZXing Core for local QR generation. Kotlin’s standard library is supplied by the Android Gradle plugin.

Build

Use JDK 21, Android SDK 36.1, Build Tools installed by the SDK, and the Gradle wrapper. Open the project in Android Studio and run the app configuration on a Wear OS Emulator. Minimum Android API is 31; target is 36.

./gradlew :app:assembleDebug :app:testDebugUnitTest :app:lint :app:bundleRelease
  • APK: app/build/outputs/apk/debug/app-debug.apk
  • AAB: app/build/outputs/bundle/release/app-release.aab
  • Signing: set all four documented PAKKIT_* variables or leave them all unset for unsigned release output.

If Google Maven is inaccessible in your environment, the optional build property -PpakkitGoogleMavenMirror=https://maven.aliyun.com/repository/google selects a mirror. Official Google Maven is the default; use a trusted dependency source for release builds.

Test

Routine development uses emulators. No physical watch is required.

./gradlew :app:assembleDebug :app:assembleDebugAndroidTest :app:testDebugUnitTest
python3 scripts/test-emulators.py --watch emulator-5554 --skip-build
python3 scripts/test-emulators.py --watch emulator-5554 --small --skip-build

For browser tests and real Android-Emulator-to-Wear-Emulator uploads, see development and testing. Results and screenshots are generated under app/build/reports/validation, not checked into source control.

Restriction audit · Architecture · Design · Platform · Privacy · Release · Validation