Skip to content

nknorg/nMobile

Repository files navigation

nMobile - the world's most secure private and group messenger

“The decisions we make about communication security today will determine the kind of society we live in tomorrow.” — Dr. Whitfield Diffie, co-creator of public key cryptography and advisor to NKN

For more detail:

https://forum.nkn.org/t/nmobile-the-trusted-chat/2358

Getting Started

https://forum.nkn.org/t/nmobile-pre-beta-community-testing-and-simple-guide/2012

Dependencies

Android need NDK (>= 21.x) https://developer.android.com/studio/projects/install-ndk

Build

build application icon

$ flutter pub run flutter_launcher_icons:main

Golib

Every time you modify go code, you need to recompile.

gomobile will generate dependencies for android and ios. Android is nkn.aar and nkn-sources.jar, iOS is Nkn.xcframework.

$ cd golib
  • Build Android dependencies
$ make android
  • Build iOS dependencies
$ make ios

Flutter

  • Updating package dependencies
$ flutter pub get
  • If it is iOS, you also need to run the following command for update iOS dependencies
$ cd ios
$ pod install

Run the app in device

https://flutter.dev/docs/get-started/test-drive

$ flutter run

Generate intl using plugin