I'm in the process of writing my first tweak for personal use (Java dev by trade). Hooking CXCallObserver and CXCall from CallKit using the code below: %hook CXCallObserver -(void)dataSource:(id)arg1 callChanged:(id)arg2 { NSLog(@" Logging from callChanged"); %log; %orig; } %end %hook CXCall -(BOOL)hasConnected { %log; BOOL r = %orig; HBLogDebug(@" = %d", r); return r; } %end I got the header files from the awesome limneos site https://ift.tt/2FsQ0hH Seems to work as I get logs in Console when I call the jailbroken phone but the logging output seems to show pointers (id) rather than the value. 05:26:17.354517+0100call2mqtt.dylib Logging from callChangedSpringBoard 05:26:17.354582+0100call2mqtt.dylib-[<CXCallObserver: 0x280714f00> dataSource:<CXCallObserverXPCClient: 0x280715c80> callChanged:<CXCall: 0x2808f98e0>]SpringBoard 05:26:17.355855+0100call2mqtt.dylib-[<CXCall: 0x2808f98e0> hasConnected]SpringBoard 05:26:17.355989+0100call2mqtt.dylib-[<CXCall: 0x2808f9b20> hasConnected]SpringBoard 05:26:17.579402+0100call2mqtt.dylib-[<CXCall: 0x2808f98e0> hasConnected]SpringBoard 05:26:17.580944+0100call2mqtt.dylib-[<CXCall: 0x2808f8dc0> hasConnected]SpringBoard 05:26:17.581345+0100call2mqtt.dylib-[<CXCall: 0x2808f98e0> hasConnected]SpringBoard 05:26:17.581446+0100call2mqtt.dylib-[<CXCall: 0x28094c400> hasConnected]SpringBoard 05:26:19.855051+0100call2mqtt.dylib Logging from callChangedSpringBoard 05:26:19.855118+0100call2mqtt.dylib-[<CXCallObserver: 0x280714f00> dataSource:<CXCallObserverXPCClient: 0x280715c80> callChanged:<CXCall: 0x2808f9f00>]SpringBoard How do I get the actual values rather than the pointers? i.e. 05:26:17.355855+0100call2mqtt.dylib-[<CXCall: false> hasConnected]SpringBoard rather than 05:26:17.355855+0100call2mqtt.dylib-[<CXCall: 0x2808f98e0> hasConnected]SpringBoard What I'm eventually trying to achieve is if an incoming call is coming from a particular number send a message via curl or mqtt but I need to determine the number calling first Many thanks in advance for help
from iOSGods RSS Feed https://ift.tt/2FOYIX2
Subscribe to:
Post Comments (Atom)
-
Yubo Yoti bypass Requirements: Yubo app Jailbroken iPhone Apps Manager Brain Steps: Open Apps Manager Locate Yubo in Apps Manager and open i...
-
Modded/Hacked App: Simply Guitar by JoyTunes by JoyTunes Bundle ID: com.joytunes.SimplyGuitar iTunes Store Link: https://ift.tt/2ANDd7d Mod ...
-
I don't know how this happened, i was trying to install Kinemaster modded version on my iPhone 7 running iOS 14.0.1, maybe it's beca...
-
Hey everyone I am running Ipad 6th generation running ios 14.0 32 gb capacity with 19.1 gb left I used sideloadly yesterday to install an ap...
-
Hello! I am using this for practice using a dummy Snapchat account I've made and created a My Eyes Only tab. Now, if you don't know ...
-
Hello, does anyone know why I cannot use my Apple password or password from apple servers? Sideloadly version 0.16.1 Checking iOS version......
-
As the title says upon installing Last Day on Earth with sideloadly i get this error ERROR: Guru Meditation 6020bc@89:f11511 Call to np_clie...
-
Hello friends, So I have a problem with Sideloadly, I installed it on my (32x bit Windows 7) laptop (SONY) and tried opening it, but when I ...
-
Hello, I am currently running with an iPhone XR on IOS 12.2. I am trying to install ipa files through cydia impactor but keep receiving this...
-
Netflix is now offering users a chance to win a free subscription for 83 years. The company calls it the “immortal” Netflix account. T...
No comments:
Post a Comment