H6nry / ncforward

NCForward - forward your iOS notifications
9 stars 2 forks source link

Incoming call notification? #6

Open ersan opened 6 years ago

ersan commented 6 years ago

I know this project is long dead but I found it when looking for a way to forward notifications to my televisions so I can see who is calling or texting me while watching TV, like a lot of cable internet companies do. Back in the day there was a tweak called "Notify Pro" but that hasn't worked since iOS 5

I successfully modified NCForward to not show the body of an incoming iMessage or SMS - and I'm working on adding contact pictures to the pushbullet notifications - but I'm having trouble finding a way to forward an incoming call notification, if there are any resources anywhere on how to accomplish this I'd really appreciate it if you could point me in the right direction.

H6nry commented 6 years ago

Hi there, I am glad to see that someone is actually using NCFordward and (like it seems) developing around its base. I appreciate this, and will try to help you as good as I can.

Currently, NCFordward is using a simple yet effective method to detect a notification. It hooks into SBBulletinBannerController and waits for the observer to add a bulletin (notification banner) on screen. Everything else is not detected. I'm completely out of this game, so all my knowledge on iOS runtime modification is kind of retarded.

In your position, my best guess would be to poke around the iOS headers (I have ben using developer.limneos.net and my own dumped through class-dump-z). Some classes I would play around with: SBAlertManager, SBAlertWindow AND SBAwayInCallController.

From here, you are pretty on your own. On the other hand, my brain is quite amazing, so I could give you usual insights into the NCFordward source code and the NCF protocol(s).

Greetings, H6nry.

ersan notifications@github.com schrieb am Sa., 20. Jan. 2018, 19:01:

I know this project is long dead but I found it when looking for a way to forward notifications to my televisions so I can see who is calling or texting me while watching TV, like a lot of cable internet companies do. Back in the day there was a tweak called "Notify Pro" but that hasn't worked since iOS 5

I successfully modified NCForward to not show the body of an incoming iMessage or SMS but I'm having trouble finding a way to forward an incoming call notification, if there are any resources anywhere on how to accomplish this I'd really appreciate it if you could point me in the right direction.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/H6nry/ncforward/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/ACnc6OuGxlgsSWCOlD-yexw410No9X01ks5tMinvgaJpZM4Rlhqb .