Work in progress! Some code needs refactoring as it was written in haste. Somewhere left TODO and somewhere as it is. Some screens have partial functionality, because in order not to block the work, what is there is enough. For example, the authorization screen does not support password authorization. The architecture in the application is multi-modular, there are a lot of modules, this architecture has features and disadvantages. We won’t know about the disadvantages until we try it in practice!
Preferred flutter version: stable, 3.16.3
TdLib version: 1.8.11
1543c41
Platform | Status |
---|---|
Android | ✅ |
iOS | ✅ |
MacOS | ✅ |
Windows | ✅ |
Linux | ✅ |
Web | TBD |
- Download prebuild TbLib for your platform from page
- Place binaries to
tdlib
to the repo folder:
For Android:
└── tdlib
└── android
└── arm64-v8a
│ └── libtdjsonandroid.so
└── armeabi-v7a
│ └── libtdjsonandroid.so
└── x86
│ └── libtdjsonandroid.so
└── x86_64
└── libtdjsonandroid.so
For iOS:
└── tdlib
└── ios
└── libtdjson.dylib
For MacOS:
└── tdlib
└── macos
└── libtdjson.dylib
For Windows:
└── tdlib
└── windows
└── libcrypto-1_1.dll
└── libssl-1_1.dll
└── tdjson.dll
└── zlib1.dll
- Obtain api_id and api_hash at https://my.telegram.org
- Create file
config.txt
with content in assets:
└── app
└── assets
└── tdlib
└── config.txt
Content:
apiId:<api_id>
apiHash:<api_hash>
useTestDc:<true/false>
cd <repo folder>
cd tools/tools-project/ && dart pub get && cd ../..
./tools/packages_get.sh
./tools/gen.sh
cd launch/ && flutter run