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

请问应该怎样把sdk分出来? #8

Closed
kdsrsl opened this issue Oct 25, 2018 · 3 comments
Closed

请问应该怎样把sdk分出来? #8

kdsrsl opened this issue Oct 25, 2018 · 3 comments

Comments

@kdsrsl
Copy link

kdsrsl commented Oct 25, 2018

比方说

我只需要一个 店铺功能,或者只需要一个聊天功能,

或者 我的 代码里已经内置了 okhttp,或者 x5浏览器。

能不能使用分开的方式,如 阿里或者 腾讯的sdk, 什么样的功能加载 什么样的包,什么样的功能可以不去加载什么样的库。

按照 wiki的方式,我集成之后 有 7个包进来,如图

2018-10-25 7 56 23

本身我的项目只有5M,集成有赞SDK后发现直接变成了10M。

请问应该如何做些优化?

谢谢.

@EnternalRain
Copy link
Contributor

目前暂时只支持x5内核的按情况加载(即:自身项目已经有集成x5内核的情况下,可以exclude掉x5official),im库后面会考虑按需加载。其他库都是必须的。

@jp1017
Copy link

jp1017 commented Nov 19, 2018

可以exclude掉x5official)

请问如何书写的,module和group是个啥?麻烦了 @EnternalRain

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

No branches or pull requests

3 participants