wechat_kit 1.0.0

  • Readme
  • Changelog
  • Example
  • Installing
  • new46

wechat_kit #

Build Status Codecov GitHub Tag Pub Package License

flutter版微信SDK

flutter toolkit #

dart/flutter 私服 #

docs #

android #

# 不需要做任何额外接入工作
# 混淆已打入 Library,随 Library 引用,自动添加到 apk 打包混淆

获取 android 微信签名信息 #

非官方方法 -> 反编译 Gen_Signature_Android2.apk 所得

命令:

keytool -list -v -keystore ${your_keystore_path} -storepass ${your_keystore_password} 2>/dev/null | grep -p 'MD5:.*' -o | sed 's/MD5://' | sed 's/ //g' | sed 's/://g' | awk '{print tolower($0)}'

示例:

keytool -list -v -keystore example/android/app/infos/debug.keystore -storepass android 2>/dev/null | grep -p 'MD5:.*' -o | sed 's/MD5://' | sed 's/ //g' | sed 's/://g' | awk '{print tolower($0)}'
ce187ed67e05c2d8879bf66bbfdfc8b9

ios #

在Xcode中,选择你的工程设置项,选中“TARGETS”一栏,在“info”标签栏的“URL type“添加“URL scheme”为你所注册的应用程序id

URL Types
weixin: identifier=weixin schemes=${appId}
iOS 9系统策略更新,限制了http协议的访问,此外应用需要在“Info.plist”中将要使用的URL Schemes列为白名单,才可正常检查其他应用是否安装。

<key>LSApplicationQueriesSchemes</key>
<array>
    <string>weixin</string>
    <string>weixinULAPI</string>
</array>
<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>
Universal Links

Capabilities -> Associated Domain -> Domain -> applinks:${your applinks}

flutter #

  • snapshot
dependencies:
  wechat_kit:
    git:
      url: https://github.com/v7lin/fake_wechat.git
  • release
dependencies:
  wechat_kit: ^${latestTag}
  • example

示例

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

1.0.0 #

  • 更名 wechat_kit
  • 添加 Android 代码静态检查

0.3.4 - 2019.9.25 #

  • 升级Android/iOS SDK

0.3.3 - 2019.8.8 #

  • 升级Android SDK
  • 修正二维码扫码登录

0.3.2 - 2019.7.12 #

  • 简化

0.3.1 - 2019.6.5 #

  • 添加小图字节数组分享

0.3.0 - 2019.5.24 #

  • 优化
  • 自动化发布

0.2.0 - 2019.4.26 #

  • 修正大图分享
  • 添加表情/GIF分享

0.1.0 - 2019.3.19 #

  • 规范 library 代码

0.0.1 - 2019.3.4 #

  • android/ios wechat

example/README.md

wechat_kit_example #

Demonstrates how to use the wechat_kit plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  wechat_kit: ^1.0.0

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:wechat_kit/wechat_kit.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
46
Learn more about scoring.

We analyzed this package on Dec 2, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.6.1
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.6

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Maintenance issues and suggestions

Homepage URL doesn't exist. (-20 points)

At the time of the analysis the homepage field https://github.com/v7lin/wechat_kit was unreachable.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
convert ^2.0.2 2.1.1
crypto ^2.0.6 2.1.3
flutter 0.0.0
json_annotation >=2.0.0 <4.0.0 3.0.0
uuid >=1.0.0 <3.0.0 2.0.4
Transitive dependencies
charcode 1.1.2
collection 1.14.11 1.14.12
meta 1.1.7 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
build_runner any
flutter_test
image ^2.0.7
json_serializable any
okhttp_kit ^1.0.0
path ^1.6.4
path_provider ^1.4.0
pedantic any