Files
nym/nym-connect-android
Pierre Dommerc d09864b99f build(nc-android): prepare for apk release (#2943)
* chore(nc-android): prepare for production build

* refactor(nc-android): remove dead code

* feat(nc-android): update native color theme

* feat(nc-android): update native color theme

* build(nc-android): fix rfd version issue

* build(nc-android): fix dist dir no such file error

* fix(nc-android): post rebase changes
2023-02-02 15:18:58 +01:00
..
2023-01-30 11:38:14 +01:00

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