Skip to content

Commit d12c6d7

Browse files
author
陈跃波
committed
发布1.5.0版本,适配企业微信2.4.18
1 parent d364242 commit d12c6d7

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@
22
实现企业微信红包自动点击,自动抢红包
33

44
## 最新版下载地址
5-
[企业微信红包助手_v1.4.0_5_release_2018_04_12_19_58_34.apk](https://github.com/chenyuebo/WeworkRedPacketHelper/raw/master/apk/%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E7%BA%A2%E5%8C%85%E5%8A%A9%E6%89%8B_v1.4.0_5_release_2018_04_12_19_58_34.apk)
5+
[企业微信红包助手_v1.5.0_6_release_2018_05_08_13_40_14.apk](https://github.com/chenyuebo/WeworkRedPacketHelper/raw/master/apk/%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E7%BA%A2%E5%8C%85%E5%8A%A9%E6%89%8B_v1.5.0_6_release_2018_05_08_13_40_14.apk)
66
## 已适配企业微信版本
77
- 2.4.7
88
- 2.4.9
99
- 2.4.12
1010
- 2.4.14
1111
- 2.4.16
12+
- 2.4.18
1213

1314
## 屏幕截图
1415

15-
<img src="https://github.com/chenyuebo/WeworkRedPacketHelper/blob/master/%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE/%E4%B8%BB%E7%95%8C%E9%9D%A2.png" width="250px"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="https://github.com/chenyuebo/WeworkRedPacketHelper/blob/master/%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE/%E8%AE%BE%E7%BD%AE.png" width="250px"/>
16+
<img src="https://github.com/chenyuebo/WeworkRedPacketHelper/blob/master/%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE/%E4%B8%BB%E7%95%8C%E9%9D%A2.png" width="250px"/>
17+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18+
<img src="https://github.com/chenyuebo/WeworkRedPacketHelper/blob/master/%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE/%E8%AE%BE%E7%BD%AE.png" width="250px"/>
Binary file not shown.

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ android {
66
applicationId "com.cyb.wework"
77
minSdkVersion 16
88
targetSdkVersion 26
9-
versionCode 5
10-
versionName "1.4.0"
9+
versionCode 6
10+
versionName "1.5.0"
1111
// 只打包中文资源
1212
resConfigs "zh"
1313
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

app/src/main/java/com/cyb/wework/service/RedPacketService.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public void run() {
188188
}
189189
}
190190

191-
private String getOpenBtnId(){
191+
private String getOpenBtnId() {
192192
String weworkVersion = AppUtil.getWeworkVersion(this);
193193
LogUtil.d("weworkVersion=" + weworkVersion);
194194
if ("2.4.7".equals(weworkVersion)) {
@@ -201,6 +201,8 @@ private String getOpenBtnId(){
201201
return "com.tencent.wework:id/bxj";
202202
} else if ("2.4.16".equals(weworkVersion)) {
203203
return "com.tencent.wework:id/c4w";
204+
} else if ("2.4.18".equals(weworkVersion)) {
205+
return "com.tencent.wework:id/c6c";
204206
}
205207
return null;
206208
}

app/src/main/res/xml/preferences.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@
4444
<PreferenceCategory android:title="关于本应用">
4545
<Preference
4646
android:key="pref_app_version"
47-
android:summary="v1.4.0"
47+
android:summary="v1.5.0"
4848
android:title="版本" />
4949
<Preference
5050
android:key="pref_app_author"
5151
android:summary="CYB"
5252
android:title="作者" />
5353
<Preference
54-
android:summary="由于部分功能使用了企业微信部分View的Id,所以升级企业微信客户端可能造成本软件部分功能失效。\n已测试企业微信版本如下:\n2.4.7\n2.4.9\n2.4.12\n2.4.14\n2.4.16"
54+
android:summary="由于部分功能使用了企业微信部分View的Id,所以升级企业微信客户端可能造成本软件部分功能失效。\n已测试企业微信版本如下:\n2.4.7\n2.4.9\n2.4.12\n2.4.14\n2.4.16\n2.4.18"
5555
android:title="使用说明" />
5656
</PreferenceCategory>
5757
</PreferenceScreen>

0 commit comments

Comments
 (0)