Wechat Macos

admin 11/23/2021
19 Comments

WeChat for Mac computers is a great tool for instant text messaging and sending videos and photos. This communication app is a great way to connect with family, friends, and colleagues. If you want to open WeChat on your Mac device, you can follow the steps above to do so. You can choose a method that works for you.

Language: English中文简体

WeChat for Mac lets you send files and images straight from your Mac to other people using the program on any device. Like the mobile app, you can send voice messages and use a group chat. It’s free, and pushes out any ads that other programs are flooded with. The beauty of this desktop version is that all you need is your computer. Open WeChat on your computer. You’ll find it in the Applications folder on a Mac, or the Windows menu on a PC. If it’s your first time using WeChat on your computer, see Log in to WeChat on PC or Mac to learn the proper way to set up the desktop app. WeChat for macOS version 2.4.1 has only three updates, Apple users can finally do group audio, group video in the group, daily communication or meeting more convenient. The new version can be set to automatically convert voice messages to text during chat, and more types of messages can be referenced during chat, including text, documents.

An assets picker which looks like the one in WeChat,based on photo_manager for asset implementation,extended_image for image preview,and provider to help control the state of the picker.

To take a photo or a video for assets, please check the detailed usage in the example, and head over towechat_camera_picker .

All UI designs are based on WeChat 7.x, and it will be updated following the WeChat update in anytime.

Note: You can file PRs to create your own implementation if you found your implementation might be useful for others.See Contribute custom implementations for more details.

Category 🗂

  • Preparing for use
  • Usage
  • Classes Introduction
  • Frequent asked question

Migration Guide ♻️

See Migration Guide.

Features ✨

  • ♻️ Fully implementable with delegates override
  • 💚 99% simillar to WeChat style
  • ⚡️ Adjustable performance according to parameters
  • 📷 Image asset support
    • 🔬 HEIC/HEIF Image type support
  • 🎥 Video asset support
  • 🎶 Audio asset support
  • 1️⃣ Single asset mode
  • 💱 i18n support
    • ⏪ RTL language support
  • ➕ Special item builder (prepend/append) support
  • 🗂 Custom sort path delegate support
  • 📝 Custom text delegate support
  • ⏳ Custom filter options support ( photo_manager )
  • 🎏 Custom theme entirely
  • 💻 MacOS support

Screenshots 📸

READ THIS FIRST ‼️

Although the package provides assets selection, it still requires users to build their own methodsto handle upload, image compress, etc. If you have any questions about how to build them, please run the example or refer to photo_manager for API usage.

Preparing for use 🍭

Version constraints

Flutter SDK: >=2.0.0 .

If you got a resolve conflict error when running flutter pub get , please use dependency_overrides to fix it. See here .

Flutter

Wechat Macos

Add wechat_assets_picker to pubspec.yaml dependencies.

The latest stable version is:

The latest dev version is:

Then import the package in your code:

Android

Required permissions: INTERNET, READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE, ACCESS_MEDIA_LOCATION.

Wechat Mac Os Download

If you found some warning logs with Glide appearing, then the main project needs an implementation of AppGlideModule. See Generated API.

iOS

  1. Platform version has to be at least 9.0. Modify ios/Podfile and update accordingly.
  2. Add the following content to info.plist.

MacOS

  1. Platform version has to be at least 10.15. Modify macos/Podfile and update accordingly.
  2. Set the minimum deployment target to 10.15. Use XCode to open macos/Runner.xcworkspace .

  3. Follow the iOS instructions and modify info.plist accordingly.
Wechat macbook

Usage 📖

NameTypeDescriptionDefault
selectedAssetsList<AssetEntity>?Selected assets. Prevent duplicate selection. If you don’t need to prevent duplicate selection, just don’t pass it.null
maxAssetsintMaximum asset that the picker can pick.9
pageSizeint?Number of assets per page. Must be a multiple of gridCount.320 (80 * 4)
gridThumbSizeintThumbnail size for the grid’s item.200
pathThumbSizeintThumbnail size for the path selector.80
previewThumbSizeList<int>?Preview thumbnail size in the viewer.null
gridCountintGrid count in picker.4
requestTypeRequestTypeRequest type for picker.RequestType.image
specialPickerTypeSpacialPickerType?Provides the option to integrate a custom picker type.null
themeColorColor?Main theme color for the picker.Color(0xff00bc56)
pickerThemeThemeData?Theme data provider for the picker and the viewer.null
sortPathDelegateSortPathDeleage?Path entities sort delegate for the picker, sort paths as you want.CommonSortPathDelegate
textDelegateAssetsPickerTextDelegate?Text delegate for the picker, for customize the texts.DefaultAssetsPickerTextDelegate()
filterOptionsFilterOptionGroup?Allow users to customize assets filter options.null
specialItemBuilderWidgetBuilder?The widget builder for the special item.null
specialItemPositionSpecialItemPositionAllow users set a special item in the picker with several positions.SpecialItemPosition.none
allowSpecialItemWhenEmptyboolWhether the special item will display or not when assets is empty.false
routeCurveCurveThe curve which the picker use to build page route transition.Curves.easeIn
routeDurationDurationThe duration which the picker use to build page route transition.const Duration(milliseconds: 500)

Simple usage

or

Complete param usage

For various type of the picker, head over to the example and run it with no doubt.

Display selected assets

The AssetEntityImageProvider can display the thumb image of images & videos, and the original data of image. Use it like a common ImageProvider.

Check the example for how it displays.

Register assets change observe callback

Customize with your own type or UI

AssetPickerBuilderDelegate, AssetPickerViewerBuilderDelegate, AssetPickerProvider andAssetPickerViewerProvider are all exposed and overridable. You can extends them and use your owntype with generic type <A: Asset, P: Path>, then implement abstract methods. See the Custom pagein the example which implements a picker with <File, Directory>.

Classes Introduction 💭

AssetEntity

Frequent asked question ❔

Version resolve conflict with xxx (e.g. dartx)

For some reasons dartx or other packages may require a different version than yours. If you’re facing this issue, and the error looks like:

Please add the code below to make it work.

How can I get path from the AssetEntity to integrate with File object, upload or edit?

You don’t need it (might be).

Wechat For Mac Os

You can always request the File object with entity.originFile, if Uint8List then entity.originBytes.

If you still needs path after requested the File, get it through file.absolutePath.

How can I change the name of “Recent” or other entities name/properties?

The path entity called “Recent”, brought by photo_manager in the path entities list, includes all AssetEntity on your device. “Recent” is a system named entity in most of platforms. While we provided ability to customize the text delegate, the name/properties can only be updated with SortPathDelegate . This is the only way that you have access to all path entities, or the only way that we exposed currently.

To change the name of the path entity, extend the SortPathDelegate with your own delegate, then write something like the code below:

Pass the delegate through the static call method, then you will get a self-named path entity.

Create AssetEntity from File or Uint8List (rawData)

In order to combine this package with camera shooting or something related, there’s a solution about how to create an AssetEntity with File or Uint8List object.

If you don’t want to keep the asset in your device, just delete it after you complete with your process (upload, editing, etc).

ref: flutter_photo_manager#insert-new-item

Glide warning ‘Failed to find GeneratedAppGlideModule’

Glide needs annotation to keep singleton, prevent conflict between instances and versions, so while the photo manager uses Glide to implement image features, the project which import this should define its own AppGlideModule. See Android section for implementation.

Contributors ✨

Many thanks to these wonderful people (emoji key):


Alex Li
💻🎨📖💡🤔🚧💬👀

Caijinglong
💡🤔

Marcel Schneider
🐛💻🤔

ganlanshu0211
🐛🤔

JasonHezz
🐛💻

Yaniv Shaked
🌍💻🐛

avi-yadav
💻

This project follows theall-contributors specification.Contributions of any kind welcomed!!

Acknowledgement

Every aspect of IntelliJ IDEA has been designed to maximize developer productivity. Together, intelligent coding assistance and ergonomic design make development not only productive but also enjoyable.

Download Wechat For Macbook

Thanks to JetBrains for allocating free open-source licenses for IDEs such as IntelliJ IDEA.

Hi there, LeoTchang.


I see that you're trying to use the Screen Recording feature in WeChat, but the app doesn't appear under the Security & Privacy > Screen Recording to allow it. I'm glad to help with this.


Control access to your camera on Mac -- See if you've given access for the camera on your Mac first, then see if it appears in Screen Recording.


If you need additional assistance, I suggest following the steps in this support resource: If an app freezes or quits unexpectedly on Mac and to contact the Developer of this third-party app if needed: How to contact an app developer


Let me know how that goes, and take care!

Mar 25, 2020 9:30 AM