Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version:3.5.0 #193

Merged
merged 31 commits into from
Jun 21, 2023
Merged

Version:3.5.0 #193

merged 31 commits into from
Jun 21, 2023

Conversation

cpacm
Copy link
Collaborator

@cpacm cpacm commented Apr 19, 2023

PR 内容

  1. 简化 getDisplayMetrics 方法;
  2. startWithConfiguration: 初始化时传入 Context 替换原有的Application,Context 可以为 Application 或者 Activity;
  3. 当初始化时传入的Context 为 Activity 时,补发当前Activity的生命周期;
  4. 删除 deprecated 过期代码,包括:FilterEventType和 FilterFieldType,EventAttrBuilder,advert sdk api私有化 ,UploadExceptionEnabled接口;
  5. 添加忽略View点击的接口: ignoreViewClick(view,boolean);
  6. 优化logger的对外输出;
  7. 优化对ViewTree的监听,只有在需要曝光事件和获取截图的情况下进行监听;
  8. 修复在Android O 机型上截图出错的情况(截图时报错);
  9. 为无埋点的所有的控件注入点添加配置(autotrackOptions),包括页面事件,目前不对客户开放API
  10. 修复当中间 fragment 未被注入时导致 fragment 的 findParent 为空的问题;
  11. 添加ViewChangeInjector,将滑动状态和选中状态的控件发送ViewChange事件;
  12. 增加初始化配置setImeiEnabled 默认 false

测试步骤

请使用 SDK Demo 验证上述更新。

影响范围

是否属于重要变动?

其他信息

该分支用于开发3.5.0版本和专门优化demo中发现问题的地方。

@codecov
Copy link

codecov bot commented Jun 14, 2023

Codecov Report

Merging #193 (5a98c21) into master (d228ca2) will decrease coverage by 2.71%.
The diff coverage is 36.33%.

@@             Coverage Diff              @@
##             master     #193      +/-   ##
============================================
- Coverage     64.66%   61.96%   -2.71%     
+ Complexity     1762     1754       -8     
============================================
  Files           226      225       -1     
  Lines          8544     8915     +371     
  Branches       1114     1162      +48     
============================================
- Hits           5525     5524       -1     
- Misses         2216     2590     +374     
+ Partials        803      801       -2     
Impacted Files Coverage Δ
...ingio/android/advert/AdvertActivateDataLoader.java 60.62% <0.00%> (-1.64%) ⬇️
...android/sdk/autotrack/inject/ActivityInjector.java 25.00% <0.00%> (ø)
...android/sdk/autotrack/inject/MenuItemInjector.java 0.00% <0.00%> (ø)
...droid/sdk/autotrack/inject/ViewChangeInjector.java 0.00% <0.00%> (ø)
...growingio/android/sdk/autotrack/view/ViewNode.java 52.84% <0.00%> (+0.56%) ⬆️
...va/com/growingio/android/json/JsonDataFetcher.java 60.97% <ø> (-0.93%) ⬇️
...rowingio/android/protobuf/ProtobufDataFetcher.java 64.51% <ø> (-1.11%) ⬇️
...owingio/android/flutter/FlutterPluginProvider.java 0.00% <0.00%> (ø)
...m/growingio/android/hybrid/HybridBridgeLoader.java 100.00% <ø> (ø)
...ava/com/growingio/android/hybrid/NativeBridge.java 100.00% <ø> (ø)
... and 63 more

... and 5 files with indirect coverage changes

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 61 Code Smells

39.7% 39.7% Coverage
2.8% 2.8% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@tianhui12 tianhui12 merged commit 5e9e684 into master Jun 21, 2023
@tianhui12 tianhui12 deleted the feat/demo branch June 21, 2023 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants