Skip to content

Commit 275a77c

Browse files
author
weiqiangliu
committed
Release 3.2.11
1 parent afd1798 commit 275a77c

19 files changed

+67
-5
lines changed

plugin/ext.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
project.ext {
2-
pluginVersion = '3.2.10'
2+
pluginVersion = '3.2.11'
33
Properties properties = new Properties()
44
if (project.file('local.properties').exists()) {
55
properties.load(project.file('local.properties').newDataInputStream())

plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsTransform.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import java.util.jar.JarOutputStream
4646

4747
class SensorsAnalyticsTransform extends Transform {
4848
private SensorsAnalyticsTransformHelper transformHelper
49-
public static final String VERSION = "3.2.10"
49+
public static final String VERSION = "3.2.11"
5050
public static final String MIN_SDK_VERSION = "4.0.7"
5151
private WaitableExecutor waitableExecutor
5252
private URLClassLoader urlClassLoader

plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsWebViewMethodVisitor.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ class SensorsAnalyticsWebViewMethodVisitor extends MethodVisitor implements Opco
8383
}
8484
}
8585
return checkAndroidWebView(ownerClass, owner) || checkX5WebView(ownerClass, owner)
86-
} catch (Exception e) {
87-
e.printStackTrace()
86+
} catch (Throwable throwable) {
87+
Logger.warn("Can not load class, if you have any questions, please contact our technical services: classname:${className}, exception: ${throwable}")
8888
}
8989
return false
9090
}
@@ -108,7 +108,7 @@ class SensorsAnalyticsWebViewMethodVisitor extends MethodVisitor implements Opco
108108
try {
109109
x5WebView = transformHelper.urlClassLoader.loadClass("com.tencent.smtt.sdk.WebView")
110110
x5WebViewStatus = X5WebViewStatus.FOUND
111-
} catch (ClassNotFoundException ignored) {
111+
} catch (Throwable ignored) {
112112
x5WebViewStatus = X5WebViewStatus.NOT_FOUND
113113
return false
114114
}

repo.zip

178 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a20cee509d80e8661c34471461260f2d
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
d9cf80195dfa6a156fbcde034c1b7d0a5cfd4d46
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ecd3f0b6fc85507bd132b97f178b140e
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5a15b08a2209c252054e027b877c903ef7cb6529

0 commit comments

Comments
 (0)