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

feat: giokit 集成在SDK 插件中 #20

Merged
merged 20 commits into from
Dec 26, 2023
Merged

feat: giokit 集成在SDK 插件中 #20

merged 20 commits into from
Dec 26, 2023

Conversation

cpacm
Copy link
Collaborator

@cpacm cpacm commented Sep 11, 2023

PR 内容

现在SDK不用再额外引入 Giokit,只需要在插件中开启即可。示例如下:

growingAutotracker {
    logEnabled true
    giokit {
        enabled true  //开启即可
        trackerFinderEnabled true
        trackerFinderDomain "com.xxxx.yourapplication"
        trackerCalledMethod "com.growingio.android.tracker#trackCumtomEvent"
        autoAttachEnabled true
        releaseEnabled false
        autoInstallVersion "2.0.0-SNAPSHOT"
    }
}
Extension 参数类型 是否必填 默认值 说明
enabled Boolean false 是否添加 Giokit
trackerFinderEnabled Boolean true 查找App下调用App埋点接口的信息
trackerFinderDomain Array<String> 默认为应用 ApplicationId 查找的范围
trackerCalledMethod Array<String> 默认为SDK相应接口 要查找的类和方法
autoAttachEnabled Boolean true GioKit 是否自动依附在Activity上,若设为false,需要自行调用api打开GioKit
releaseEnabled Boolean false 请不要打开,否则会在 Release 打包中包含 GioKit 代码
autoInstallVersion String 2.0.0 自动依赖的GioKit版本号

测试步骤

测试 GioKit 在新版本下能否使用

影响范围

  • GioKit
  • SDK Plugin

是否属于重要变动?

其他信息

@tianhui12 tianhui12 merged commit 10d8e6c into master Dec 26, 2023
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