Skip to content

利用Android无障碍服务一键自动拨打微信视频通话的Flutter插件

License

Notifications You must be signed in to change notification settings

davidche1116/wechat_video_call

Repository files navigation

Pub License Platform Flutter

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.

Thanks to all the people who already contributed!

Thanks

flutter_accessibility_service
ssss-yao/xiangjian

About

利用Android无障碍服务一键自动拨打微信视频通话的Flutter插件

Resources

License

Stars

Watchers

Forks

Packages

No packages published