Skip to content

Commit 754e461

Browse files
committed
更新友盟统计和友盟分享相关的 SDK 版本
1 parent 9bb34ce commit 754e461

17 files changed

Lines changed: 51 additions & 26 deletions

File tree

library/umeng/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ android {
3838
// 友盟远程仓库地址:https://repo1.maven.org/maven2
3939
dependencies {
4040
// 友盟公共库
41-
api 'com.umeng.umsdk:common:9.5.4'
42-
api 'com.umeng.umsdk:asms:1.6.3'
41+
api 'com.umeng.umsdk:common:9.8.8'
42+
api 'com.umeng.umsdk:asms:1.8.7.2'
4343
// 友盟分享库
44-
api 'com.umeng.umsdk:share-core:7.2.2'
44+
api 'com.umeng.umsdk:share-core:7.3.7'
4545
// 友盟微信分享
46-
api 'com.umeng.umsdk:share-wx:7.2.2'
46+
api 'com.umeng.umsdk:share-wx:7.3.7'
4747
// 友盟 QQ 分享
48-
api 'com.umeng.umsdk:share-qq:7.2.2'
48+
api 'com.umeng.umsdk:share-qq:7.3.7'
4949

50-
// QQ 组件:https://wikinew.open.qq.com/#/iwiki/864512440
51-
api 'com.tencent.tauth:qqopensdk:3.53.0'
50+
// QQ 组件:https://wikinew.open.qq.com/#/iwiki/4007776153
51+
api 'com.tencent.qq:open-sdk:3.5.18.0'
5252
// 微信组件:https://developers.weixin.qq.com/doc/oplatform/Mobile_App/Access_Guide/Android.html
53-
api 'com.tencent.mm.opensdk:wechat-sdk-android:6.8.20'
53+
api 'com.tencent.mm.opensdk:wechat-sdk-android:6.8.34'
5454
}

library/umeng/src/main/java/com/hjq/umeng/UmengClient.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import android.content.pm.PackageManager;
88
import androidx.annotation.NonNull;
99
import androidx.annotation.Nullable;
10+
import com.tencent.tauth.Tencent;
1011
import com.umeng.analytics.MobclickAgent;
1112
import com.umeng.commonsdk.UMConfigure;
1213
import com.umeng.socialize.PlatformConfig;
@@ -32,6 +33,9 @@ public static void init(Application application, boolean logEnable) {
3233
UMConfigure.init(application, BuildConfig.UM_KEY,"umeng", UMConfigure.DEVICE_TYPE_PHONE, "");
3334
// 获取设备的 oaid
3435
UMConfigure.getOaid(application, oaid -> sDeviceOaid = oaid);
36+
// QQ SDK 提示用户未授权,暂时无法使用QQ登录及分享等功能的解决方案
37+
// https://wiki.connect.qq.com/%E5%BC%80%E5%8F%91%E8%81%94%E8%B0%83%E7%9B%B8%E5%85%B3%E9%97%AE%E9%A2%98
38+
Tencent.setIsPermissionGranted(true);
3539
}
3640

3741
/**
Binary file not shown.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.tencent.qq</groupId>
5+
<artifactId>open-sdk</artifactId>
6+
<version>3.5.18.0</version>
7+
<packaging>jar</packaging>
8+
</project>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<metadata>
3+
<groupId>com.tencent.qq</groupId>
4+
<artifactId>open-sdk</artifactId>
5+
<versioning>
6+
<latest>3.5.18.0</latest>
7+
<release>3.5.18.0</release>
8+
<versions>
9+
<version>3.5.18.0</version>
10+
</versions>
11+
<lastUpdated>20251117000000</lastUpdated>
12+
</versioning>
13+
</metadata>
-322 KB
Binary file not shown.
Binary file not shown.

localMaven/com/umeng/umsdk/share-core/7.2.2/share-core-7.2.2.pom renamed to localMaven/com/umeng/umsdk/share-core/7.3.7/share-core-7.3.7.pom

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.umeng.umsdk</groupId>
55
<artifactId>share-core</artifactId>
6-
<version>7.2.2</version>
6+
<version>7.3.7</version>
77
<packaging>jar</packaging>
8-
</project>
8+
</project>

localMaven/com/umeng/umsdk/share-core/maven-metadata.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<groupId>com.umeng.umsdk</groupId>
44
<artifactId>share-core</artifactId>
55
<versioning>
6-
<latest>7.2.2</latest>
7-
<release>7.2.2</release>
6+
<latest>7.3.7</latest>
7+
<release>7.3.7</release>
88
<versions>
9-
<version>7.2.2</version>
9+
<version>7.3.7</version>
1010
</versions>
11-
<lastUpdated>20221202112024</lastUpdated>
11+
<lastUpdated>20251212121800</lastUpdated>
1212
</versioning>
1313
</metadata>
-43.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)