Skip to content

Commit

Permalink
4.5.17.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ZurichMoon committed Jun 7, 2023
1 parent 4e87fa6 commit bbb1643
Show file tree
Hide file tree
Showing 373 changed files with 18,255 additions and 12,525 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ AnalysysAgent.setVisitorConfigURL(context, CONFIG_URL);

```

3.可视化埋点功能

- 在项目根目录文件gradle.properties 设置 Build_Type=visual
- 运行apidemo项目,启动后进入可视化demo入口
- 打开 https://growth.analysys.cn/project-management/visual-choice 左上角选中电商Demo,选Android平台
- 在app打开的情况下摇一摇,设备连接成功后点击设备进入埋点界面
- 点击View添加事件,点击右下方部署下发配置



Expand Down
21 changes: 15 additions & 6 deletions ans-demo/apidemo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ android {
signingConfig signingConfigs.release
}
}
//repositories { maven { url "https://maven.aliyun.com/repository/google" } }

}


Expand All @@ -64,6 +66,12 @@ android {
useNewCruncher = false
}

repositories {
flatDir {
dirs 'libs' //this way we can find the .aar file in libs folder
}
}

lintOptions {
checkReleaseBuilds false
abortOnError false
Expand All @@ -89,22 +97,23 @@ android {
}

dependencies {

//implementation fileTree(include: ['*.aar'], dir: 'libs')
if (apidemo_depend.toBoolean()) {
api project(':analysys_arkanalysys')
} else {
api 'cn.com.analysys:analysys-arkanalysys:latest.release'
}

//api project(':analysys-tools')

// api project(':analysys-tools')

api project(':compatibilityDemo')
api project(':visualDemo')

//api project(':compatibilityDemo')
//implementation(name: 'toolsLibrary', ext: 'aar')
//compile files('libs/toolsLibrary-debug.aar')
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'com.google.android.material:material:1.0.0'

implementation 'androidx.fragment:fragment:1.0.0'
compileOnly 'androidx.recyclerview:recyclerview:1.0.0'
}

// 忽略文档编译错误. 设置编码
Expand Down
Binary file added ans-demo/apidemo/libs/toolsLibrary.aar
Binary file not shown.
61 changes: 37 additions & 24 deletions ans-demo/apidemo/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,53 +6,66 @@
android:versionName="1.0">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <!-- <uses-permission android:name="android.permission.READ_PHONE_STATE" /> -->
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

<uses-permission android:name="android.permission.CLEAR_CACHE"/>
<application
android:name="com.analysys.demo.AnsApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher"
android:theme="@style/Theme.AppCompat.Light"
android:usesCleartextTraffic="true"
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.NoActionBar"

tools:ignore="AllowBackup,GoogleAppIndexingWarning,UnusedAttribute">

<activity android:name="com.analysys.demo.MainActivity">
<activity android:name="com.analysys.demo.MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.analysys.demo.WebViewActivity"
android:process=":WebView" />
<activity android:name="com.analysys.demo.UserSettingActivity" />
<activity android:name="com.analysys.demo.EventActivity" />
<activity android:name="com.analysys.demo.PropertyActivity" />
<activity android:name="com.analysys.demo.ProfileActivity" />
<activity android:name="com.analysys.demo.TrackActivity" />
<activity android:name="com.analysys.demo.ProbeClickTestActivity" />
<activity android:name="com.analysys.demo.VisualPositionBindActivity" />
<activity android:name="com.analysys.demo.VisualHybridActivity" />
<activity android:name="com.analysys.demo.VisualSibGridViewActivity" />
<activity android:name="com.analysys.demo.VisualSibViewPagerActivity" />
<activity android:name="com.analysys.demo.VisualRelatedActivity" />
<activity android:name="com.analysys.demo.VisualSibRecyclerViewActivity" />
<activity android:name="com.analysys.demo.VisualSibListViewActivity" />
<activity android:name="com.analysys.demo.VisualCrossPagesActivity" />
<activity android:name="com.analysys.demo.VisualClassBindActivity" />
<activity android:name="com.analysys.demo.VisualTextBindActivity" />
<activity android:name="com.analysys.demo.VisualBaseControlActivity" />
<activity android:name="com.analysys.demo.HeatMapTestActivity" />
<activity android:name="com.analysys.demo.ProbeFragmentTestActivity" />
<activity android:name="com.analysys.demo.PageViewTestActivity" />
<activity android:name="com.analysys.demo.ModifyConfigActivity" />
<activity android:name="com.analysys.demo.PageViewActivity" />
<activity android:name="com.analysys.demo.OtherActivity" />
<activity android:name="com.analysys.demo.VisualActivity" />
<activity android:name="com.analysys.demo.PropertyActivity" />
<activity android:name="com.analysys.demo.HeatMapActivity" />
<activity android:name="com.analysys.demo.ProbeActivity" />
<activity android:name="com.analysys.demo.HybridActivity" />
<activity android:name="com.analysys.demo.UserInfoActivity" />
<activity
android:name="com.analysys.demo.Process1Activity"
android:process=":process1" />
<activity
android:name="com.analysys.demo.SingleProcessTestActivity"
android:process=":singleProcess" />
<activity android:name="com.analysys.demo.allgroTest.AllgroTestActivity" />
<activity android:name="com.analysys.demo.allgroTest.AllgroMainActivity" />
<activity android:name="com.analysys.demo.allgroTest.TabTestActivity" />
android:name="com.analysys.demo.Process2Activity"
android:process=":process2" />

<meta-data
android:name="ANALYSYS_AUTO_COLLECTION_MAC"
android:value="false"/>
android:value="false" />
<meta-data
android:name="ANALYSYS_AUTO_COLLECTION_IMEI"
android:value="false"/>

<!-- <meta-data-->
<!-- android:name="ANALYSYS_KEYSTONE"-->
<!-- android:value="analysys.crt"/>-->
android:value="false" />
</application>

</manifest>
115 changes: 57 additions & 58 deletions ans-demo/apidemo/src/main/assets/analysys.crt
Original file line number Diff line number Diff line change
@@ -1,61 +1,60 @@
-----BEGIN CERTIFICATE-----
MIIGBTCCBO2gAwIBAgIMXR+tQNcr5HlTR/fLMA0GCSqGSIb3DQEBCwUAMGAxCzAJ
BgNVBAYTAkJFMRkwFwYDVQQK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