Open coolstar opened 6 years ago
I am really new to this, please help. I know little about this or any coding. I am very interested in this but have no idea where to start.
please guys, you should know better than hijacking issues
Would it be a bad idea to recompile the whole Cydia?
This is probably a bigger undertaking than you'd expect due to how tightly Cydia is integrated with WebKit. It'd partly be a downgrade as the cydia
API exposed to JavaScript would no longer be directly calling native code, instead it has to use postMessage()
to communicate.
I'm noticing a 30 second lag when first injecting content into cydia's webviews with my tweak https://github.com/jlippold/tweakCompatible and I assume it is related to this issue?
Is there any workaround, or any ideas how to speed it up? Maybe I shouldn't be using the [webView performSelectorOnMainThread]
method as seen here? https://github.com/jlippold/tweakCompatible/blob/master/Tweak.xm#L334
Thanks for the help
UIWebView is not optimal on iOS 11 as we can't enable JIT when Cydia is outside the container:
The obvious fixes are to either disable JIT (too slow), or have Cydia use WKWebView (preferred solution).
Would be a good idea to have the change be compilable in a separate dylib so we don't have to recompile the main Cydia app ourselves and can just edit the binary load commands.