Skip to content

Commit b797bd7

Browse files
author
weiqiangliu
committed
Release 3.5.1
1 parent f1c8d16 commit b797bd7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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.5.0'
2+
pluginVersion = '3.5.1'
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
@@ -51,7 +51,7 @@ import java.util.jar.JarOutputStream
5151

5252
class SensorsAnalyticsTransform extends Transform {
5353
private SensorsAnalyticsTransformHelper transformHelper
54-
public static final String VERSION = "3.5.0"
54+
public static final String VERSION = "3.5.1"
5555
public static final String MIN_SDK_VERSION = "6.5.0"
5656
private WaitableExecutor waitableExecutor
5757
private URLClassLoader urlClassLoader

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ class SensorsAnalyticsWebViewMethodVisitor extends AdviceAdapter implements Opco
132132
}
133133
}
134134
desc = SensorsAnalyticsUtil.appendDescBeforeGiven(desc, VIEW_DESC)
135-
//为保持新 SDK 使用旧版插件问题,会使用新 SDK loadUrl + 2 后缀的方法
136-
mv.visitMethodInsn(INVOKESTATIC, SensorsAnalyticsHookConfig.SENSORS_ANALYTICS_API, name + "2", desc, false)
135+
//为保持新 SDK 使用旧版插件问题,会使用新 SDK loadUrl后缀的方法
136+
mv.visitMethodInsn(INVOKESTATIC, JS_BRIDGE_API, name, desc, false)
137137
mv.visitLabel(label)
138138
}
139139

0 commit comments

Comments
 (0)