Files
nym/nym-connect-android/README.md
T
Pierre Dommerc 0d3ca99dfa docs(nc-android): update readme (#2924)
* docs(nc-android): update readme

* docs(nc-android): update readme
2023-01-27 21:18:43 +01:00

1.5 KiB

Nym Connect - Android

Nym Connect application for Android.

Nym Connects sets up a SOCKS5 proxy for local applications to use.

Installation prerequisites - Linux / Mac

  • Yarn
  • NodeJS >= v16
  • Rust & cargo
  • Android development environment (JDK, SDK/NDK, AVD etc...)

For setting up an Android development environment see https://next--tauri.netlify.app/next/guides/getting-started/prerequisites/linux#android

Installation

Inside the nym-connect-android directory, run the following command:

yarn install

Development

Assuming there is a running android emulator or a real device connected. Inside the nym-connect-android/src-tauri directory, run the following command:

WRY_ANDROID_PACKAGE=net.nymtech.nym_connect_android WRY_ANDROID_LIBRARY=nym_connect_android cargo tauri android dev

Debugging

https://next--tauri.netlify.app/next/guides/debugging/application#mobile

Production

To build the application bundles (APK and AAB files), run the build command.

WRY_ANDROID_PACKAGE=net.nymtech.nym_connect_android WRY_ANDROID_LIBRARY=nym_connect_android cargo tauri android build

Storybook

Run storybook with:

yarn storybook

And build storybook static site with:

yarn storybook:build