ivk1800 / telegram-flutter Goto Github PK
View Code? Open in Web Editor NEW(WIP) Telegram client written in Dart and uses Flutter.
License: GNU General Public License v3.0
(WIP) Telegram client written in Dart and uses Flutter.
License: GNU General Public License v3.0
PS C:\Users\yzx\Downloads\telegram-flutter-master\telegram-flutter-master\tools> .\gen.bat
run gen
start: app
start: app_controller
start: chat_actions_panel
start: chat_kit
1/39: chat_actions_panel
start: core_presentation
2/39: app_controller
start: core_ui_jugger
3/39: chat_kit
start: coreui
Waiting for another flutter command to release the startup lock...
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Failed to build build_runner:build_runner:
../../../../AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/build_resolvers-2.2.0/lib/src/resolver.dart:195:25: Error: The method 'unitWithPath' isn't defined for the class 'ResolvedL
ibraryResult'.
pub finished with exit code 1
Unhandled exception:
command finished with exit code 1
flutter 3.7.7
dart 2.19.4
Git error
The structure of this project is very troublesome. Is there any flutter official standard code for each platform in the corresponding directory?
E/flutter (27627): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: type '_OneByteString' is not a subtype of type 'int'
E/flutter (27627): #0 new List.from (dart:core-patch/array_patch.dart:40)
E/flutter (27627): #1 UpdateInstalledStickerSets.fromJson (package:tdlib/src/api/objects/update_installed_sticker_sets.dart:23)
E/flutter (27627): #2 ConvertExtensions.toTdObject (package:tdlib/src/api/extensions/convert_extensions.dart:1856)
E/flutter (27627): #3 Client.create.<anonymous closure> (package:tdlib/src/client/client.dart:61)
E/flutter (27627): #4 _rootRunUnary (dart:async/zone.dart:1444)
E/flutter (27627): #5 _CustomZone.runUnary (dart:async/zone.dart:1335)
E/flutter (27627): #6 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244)
E/flutter (27627): #7 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)
E/flutter (27627): #8 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271)
E/flutter (27627): #9 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:733)
E/flutter (27627): #10 _StreamController._add (dart:async/stream_controller.dart:607)
E/flutter (27627): #11 _StreamController.add (dart:async/stream_controller.dart:554)
E/flutter (27627): #12 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184)
E/flutter (27627):
E/flutter (27627): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: type '_OneByteString' is not a subtype of type 'int'
E/flutter (27627): #0 new List.from (dart:core-patch/array_patch.dart:40)
E/flutter (27627): #1 UpdateInstalledStickerSets.fromJson (package:tdlib/src/api/objects/update_installed_sticker_sets.dart:23)
E/flutter (27627): #2 ConvertExtensions.toTdObject (package:tdlib/src/api/extensions/convert_extensions.dart:1856)
E/flutter (27627): #3 Client.create.<anonymous closure> (package:tdlib/src/client/client.dart:61)
E/flutter (27627): #4 _rootRunUnary (dart:async/zone.dart:1444)
E/flutter (27627): #5 _CustomZone.runUnary (dart:async/zone.dart:1335)
E/flutter (27627): #6 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244)
E/flutter (27627): #7 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)
E/flutter (27627): #8 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271)
E/flutter (27627): #9 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:733)
E/flutter (27627): #10 _StreamController._add (dart:async/stream_controller.dart:607)
E/flutter (27627): #11 _StreamController.add (dart:async/stream_controller.dart:554)
E/flutter (27627): #12 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184)
Git error. Command: `git clone --mirror [email protected]:ivk1800/tdlib-dart.git C:\Users\widia\AppData\Local\Pub\Cache\git\cache\tdlib-dart-2eaf55b46c67699fc79c5decea6537047edbb34d`
stdout:
stderr: Cloning into bare repository 'C:\Users\widia\AppData\Local\Pub\Cache\git\cache\tdlib-dart-2eaf55b46c67699fc79c5decea6537047edbb34d'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
exit code: 128
telegram-flutter on master [!?]
❯ cd launch/ && flutter run
Launching lib/main.dart on iPhone 14 Pro Max in debug mode...
Warning: Missing build name (CFBundleShortVersionString).
Warning: Missing build number (CFBundleVersion).
Action Required: You must set a build name and number in the pubspec.yaml file version field before submitting to the App Store.
Running pod install... 1,004ms
Running Xcode build...
└─Compiling, linking and signing... 2,171ms
Xcode build done. 35.4s
Failed to build iOS app
Error (Xcode): Building for iOS Simulator, but linking in dylib built for iOS, file
'/Users/owaf/Dart/app/telegram-flutter/tdlib/ios/libtdjson.dylib' for architecture arm64
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.
hi, there is a error with the ios simulator. my laptop is macbook air m1
Mac book M1
stop anytime
how to so
./tools/packages_get.sh
telegram-flutter-master % ./tools/packages_get.sh
packages_get...
run packages get
start: app
start: app_controller
start: async_utils
start: auth_manager_api
1/127: async_utils
start: auth_manager_impl
failed: auth_manager_api
2/127: auth_manager_api
start: block_interaction_api
failed: auth_manager_impl
3/127: auth_manager_impl
start: chat_actions_panel
4/127: block_interaction_api
start: chat_forum_navigation_api
5/127: chat_forum_navigation_api
start: chat_info
failed: app_controller
6/127: app_controller
start: chat_kit
failed: chat_info
7/127: chat_info
start: chat_list_theme
8/127: chat_list_theme
start: chat_list_ui_kit
9/127: chat_list_ui_kit
start: chat_manager_api
10/127: chat_manager_api
start: chat_manager_impl
failed: chat_manager_impl
11/127: chat_manager_impl
start: chat_navigation_api
12/127: chat_navigation_api
start: chat_theme
13/127: chat_theme
start: contacts_manager_api
failed: contacts_manager_api
14/127: contacts_manager_api
start: contacts_manager_impl
failed: contacts_manager_impl
15/127: contacts_manager_impl
start: core
hello, how can i join this program used dart?
Email : ZGQ5OTEzNzYyMTEzQGdtYWlsLmNvbQ==
ld: warning: ignoring file /Users/owaf/Dart/app/telegram-flutter/tdlib/macos/libtdjson.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Flutter Assemble' from project 'Runner')
here is my env
❯ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.3.1 22E772610a darwin-arm64, locale zh-Hans-CN)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.78.2)
[✓] Connected device (2 available)
[✓] Network resources
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.