guru_lib/guru_analytics/CHANGELOG.md

175 lines
3.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

## v1.0.3
##### BugFix
- bugfix snapshotAnalyticsAudit uploaded > total
## v1.0.2
##### Feature
- init step callback
- snapshotAnalyticsAudit()
##### BugFix
- bugfix http exception
## v1.0.1
##### Feature
- init add uploadIpAddress
- CronetHelper init try catch
## v1.0.0
##### Feature
- CustomDns add cache
- init add isEnableCronet
- UserProperty guru_anm cronet/default
- PendingEvent 初始化成功前添加的埋点时间戳校正
- initialize uploadEventBaseUrl fromat check
## v0.3.2
##### Feature
- add fun peakUserProperties
- add fun getUserProperties
- add fun setEnableUpload
## v0.3.1
##### Feature
- modify FG event code logic
## v0.3.0
##### Feature
- modify event handle and add dns error event
- init remove isCallbackEventHandler / add setEventHandlerCallback
- EventHandler add ERROR_ZIP(107) callback
- EventHandler ERROR_API(101)/ERROR_CACHE_CONTROL(103) add error message
- model Event/ParamValue add @Keep
## v0.2.11
##### Feature
- init add setMainProcess(isNotBlack check main process)
- add error_process logevent
## v0.2.10
##### Feature
- fg event logic adjustment
- isInitPeriodicWork default false
- add remove user properties function
## v0.2.9
##### BugFix
- GuruAnalyticsImpl delivers replace with CopyOnWriteArrayList
##### Feature
- add app start first fg event
## v0.2.8
##### Feature
- 删除androidx.appcompat:appcompat库
## v0.2.7
##### Feature
- 修复fg埋点偶现未能清空本地累计时间的问题
## v0.2.6
##### Feature
- Header中增加X-APP-ID / X-DEVICE-INFO 初始化时增加对应设置方法
event结构体中新增eventId, 采用uuid4算法(小写)
## v0.2.5
##### Feature
- 前台时长打点fg获取方法调整 修改为每间隔30秒时长可调生成一个fg打点
初始化增加setFgEventPeriodInSeconds()方法设置fg埋点间隔上报时间默认30秒
## v0.2.4
##### Feature
- 支持配置上报打点api的baseUrl.
通过builder初始化时增加方法setUploadEventBaseUrl() 初始化完成后也可以通过调用setUploadEventBaseUrl()实现功能
## v0.2.3
##### Feature
- 优化统计时长机制使用System.currentTimeMillis()替换成SystemClock.elapsedRealtime()
- 添加各个节点hook机制
- 针对unity项目添加worker规避机制
## v0.2.2
##### Feature
- 优化上传机制,添加打开后强制上传机制
##### BugFix
- 修复SCREEN_H上报错误问题
## v0.2.1
- 修复Timber.DebugTree的问题
## v0.2.0
##### Feature
- 在初始化延时期间,所有产生的事件都将等待初始化完成后才会真正分发
- 添加本地日志收集机制,方便追溯问题
##### BugFix
- 修复后台上报时缺失设备信息的问题
## v0.1.1
##### BugFix
- 修复Worker后台上报时崩溃问题
## v0.1.0
- 间隔`uploadPeriod`秒后打包上传`batchLimit`个数据
- 添加Worker处理未发送事件`6小时`)
- 支持延时启动上传的逻辑,初始化后延时`startUploadDelay`秒后启动上传逻辑
- 支持事件优先级
| ***NAME*** | ***PRIORITY*** |
| :-------- | :--------: |
| `EMERGENCE` | 0 |
| `HIGH` | 5 |
| `DEFAULT` | 10 |
| `LOW` | 15 |
- 首次初始化时自动上报`FirstOpen`点,并将该点以`EMERGENCE`优先级发送
- 支持App生命周期自打点`fg`,并根据前后台时间计算`duration`
- 提供下列接口
| ***Method*** | ***Description*** |
| :-------- | :--------: |
| `logEvent` | 所有event点都是通过该函数完成 |
| `setUserProperty` | 设置用户属性 |
| `setScreen` | 设置当前屏幕 |
| `setDeviceId` | 设置设备ID |
| `setUid` | 设置用户ID |
| `setAdjustId` | 设置AdjustId |
| `setAdId` | 设置Google Ad Id |
| `setFirebaseId` | 设置Firebase Id |