“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
https://forum.nkn.org/t/nmobile-pre-beta-community-testing-and-simple-guide/2012
- Flutter sdk: https://flutter.dev/docs/get-started/install
- golang (>= 1.18.0): https://golang.org/dl/
- gomobile: https://pkg.go.dev/golang.org/x/mobile/cmd/gomobile
Android need NDK (>= 21.x) https://developer.android.com/studio/projects/install-ndk
$ flutter pub run flutter_launcher_icons:main
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
- Updating package dependencies
$ flutter pub get
- If it is
iOS
, you also need to run the following command for updateiOS
dependencies
$ cd ios
$ pod install
$ flutter run
- Using Flutter Intl plugin for generate intl files: https://plugins.jetbrains.com/plugin/13666-flutter-intl