Files
nym/nym-connect-android
Pierre Dommerc c4e86337e5 NC Android - minor fix, ui changes, splash screen (#3050)
* fix(nc-android): gateway issue modal does not open

* feat(nc-android): ui changes

* feat(nc-android): add splash screen
2023-02-17 12:36:06 +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 commands:

yarn install
yarn prewebpack:dev

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:

yarn dev

Debugging

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

Production

To build the APK, run the build commands.

yarn webpack:prod
WRY_ANDROID_PACKAGE=net.nymtech.nym_connect_android WRY_ANDROID_LIBRARY=nym_connect_android cargo tauri android build --debug --apk

Storybook

Run storybook with:

yarn storybook

And build storybook static site with:

yarn storybook:build