English | 中文
wechat_vdeio_call
The Flutter plugin that uses Android accessibility service to automatically dial WeChat video/voice calls with one click.
Note:
- Enable the APP accessibility service in the system setting
Accessibility
. - WeChat must be logged in, and the nickname or note for the video call is already in the friends list.
Platform Support
Android | iOS | MacOS | Web | Linux | Windows |
---|---|---|---|---|---|
✅ |
Requirements
- Flutter >=3.24.0
- Dart >=3.5.0
- Android
minSdk
24 - Java 17
- Android Gradle Plugin >=8.1.0
- Gradle wrapper >=8.3
Using plugins
Request accessibility
bool ret = await WeChatVideoCall.requestAccessibilityPermission();
Check accessibility
bool ret = await WeChatVideoCall.isAccessibilityPermissionEnabled();
Make a WeChat video call by nickname or remarks
bool ret = await WeChatVideoCall.videoCall(nickname);
Warning
Android Accessibility permissions will be automatically disabled after the APP is killed, you need to enable it again!
Feel free to contribute
One's maintenance is lonely. If you have good suggestions and changes, feel free to contribute your code.