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

这东西和jspatch有什么区别吗 #17

Open
gopep9 opened this issue Apr 17, 2020 · 10 comments
Open

这东西和jspatch有什么区别吗 #17

gopep9 opened this issue Apr 17, 2020 · 10 comments

Comments

@gopep9
Copy link

gopep9 commented Apr 17, 2020

No description provided.

@yangyangFeng
Copy link
Owner

底层原理上是一样的, 参照了japatch的一些优秀思路.

@karosLi
Copy link

karosLi commented Nov 12, 2020

相比于 JSPatch 有什么特别的点吗?

@karosLi
Copy link

karosLi commented Nov 12, 2020

另外你这库的代码都是封装在了 framework 里了。。。没有开源。

@yangyangFeng
Copy link
Owner

核心方法交换使用libffi动态生成被替换方法. 区别于jspatch消息转发实现,对app无浸入. 理论上更容易过审核

@yangyangFeng
Copy link
Owner

yangyangFeng commented Jan 5, 2021

master 分支代码还是用的消息转发实现,是开源的. 原理和jspatch一样. 一些细节有区别.

新增覆盖方法, js相互调用不再通过native反射回来, 而是直接从js方法列表中查找,然后直接调用.效率上有一定提升.

具体没有横向对比过, jsp好久不维护了, 蛮可惜. 后续有精力可能会再做一些性能优化和横向对比

@smithereensarr
Copy link

另外你这库的代码都是封装在了 framework 里了。。。没有开源。

没有开源是为了日后搞收费项目吗?

@Bogon
Copy link

Bogon commented Jan 25, 2021

只能说挺鸡肋的,触摸审核红线APP下架,损失是一个小开发承担不起的。老老实实原生吧。

@frankKiwi
Copy link

么开源还看个屁啊,跟大佬就是不一样

@qianshou
Copy link

qianshou commented Jun 26, 2022 via email

@yangyangFeng
Copy link
Owner

么开源还看个屁啊,跟大佬就是不一样

已经开源了兄弟。。。

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

7 participants