electra icon indicating copy to clipboard operation
electra copied to clipboard

Detecting bundle id in TweakInject may causes app crash

Open hirakujira opened this issue 7 years ago • 2 comments

  • iOS version: 11.1.2
  • iDevice model: iPhone X
  • electra version: 1.0.4

Because I also occurred this issue: https://github.com/coolstar/electra/issues/72 , I tried to find out the solution. Finally, I noticed that it's caused by TweakInjector.

When TweakInjector initializing, it detects the bundle id of target app. However, the Gogoro App may not response with this method (not sure) when TweakInject loaded, and causes crashes.

I just made a workaround solution which is loading TweakInject.x after some delay https://github.com/hirakujira/TweakInjector_delay/blob/master/TweakInject.x

However I don't know the "correct" way to solve this, maybe there's a potential bug of TweakInject.

hirakujira avatar Apr 14 '18 04:04 hirakujira

This workaround works well with Gogoro App, however it's not the final solution, because it will cause any tweaks load AppList failed.

Mowd avatar Apr 18 '18 13:04 Mowd

this workaround also resolved the issue with MTS Connect (carrier provided ip calling app) with the same symptoms

thanks, hirakujira

any chance this gets fixed by the author?

https://itunes.apple.com/ru/app/мтс-connect/id1046883922?mt=8

latest electra multipath on 6+ 11.2.6

blahdy avatar Sep 08 '18 11:09 blahdy