zegoim / zim_flutter_sdk Goto Github PK
View Code? Open in Web Editor NEWZego ZIM Flutter SDK
License: MIT License
Zego ZIM Flutter SDK
License: MIT License
Im using zim_flutter_sdk in my flutter project but getting this error while running the app on android.
Flutter version: 3.16.0
Zimkit version: 1.18.7
../../.pub-cache/hosted/pub.dev/zego_zimkit-1.18.7/lib/src/services/core/message.dart:131:13: Error: The getter 'messageTypePayloadKey' isn't defined for the class 'ZIMKitCore'.
FAILURE: Build failed with an exception.
Where:
Script '/Users/macbook/developement/flutter_3.16.0/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 1350
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command '/Users/macbook/developement/flutter_3.16.0/bin/flutter'' finished with non-zero exit value 1
Below is my function in Flutter framework
sendVoiceMessageMp3(String toConversationID) async { ZIMKit().pickFiles(type: FileType.any).then((files) => { ZIMKit() .sendMediaMessage( toConversationID, ZIMConversationType.peer, files, ) .onError((error, stackTrace) => { debugPrint(error.toString()), }) }); }
Below is my error code
send message failed with code: 110018, message: file duration error
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.