superen7527 / wechat

全网首发开发人员的微信API, 可无API,无权限实现三方app内一键关注公众号.一键加好友. 附带功能 -> 个人捐赠,支付宝直接捐赠功能. api 正在不断新增

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wechat

License JitPack JCenter MinSdk Methods

全网首发开发人员的微信API, 可无API,无权限实现三方app内一键关注公众号.一键加好友. 附带功能 -> 个人捐赠,支付宝直接捐赠功能. api 正在不断新增

使用方式

build.gradle引入如下库

implementation 'com.townwang:wechat:_latestVersion'

下载Simple查看效果

蓝奏云下载地址: apk

打开捐赠

使用方式

/**
 * @param config 传入PayConfig对象 即: (支付宝Code,支付收款码,微信收款码,微信提示消息[可选参数],支付宝提示消息[可选参数])
 */
 openDonate(
      PayConfig(
            "fkx083710xkhl4xuxzpud4e",
            R.mipmap.alipay, R.mipmap.wechat
               )
          )

参数说明 支付宝Code如何获取?

使用效果

支付.png

打开微信关注页

使用方式

/**
 * @param originalId 传入微信公众号原始ID
 */
openWeChatToFollowInterface("gh_738e684f3c40")

参数说明 公众号原始ID如何获取?

使用效果

image.png

打开微信并加好友

使用方式

/**
 * @param originalId 传入微信号
 */
openWeChatToFollowInterface("androidsoft")

使用效果

image.png

打开支付宝扫描

使用方式

openAliPayScan()

打开支付宝付款码

使用方式

openAliPayBarCode()

License

Copyright [2021] [Townwang]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

全网首发开发人员的微信API, 可无API,无权限实现三方app内一键关注公众号.一键加好友. 附带功能 -> 个人捐赠,支付宝直接捐赠功能. api 正在不断新增

License:Apache License 2.0


Languages

Language:Kotlin 100.0%