October 31, 2024
Fake Push Notifications for Jailbroken iPhone Apps

Fake Push Notifications for Jailbroken iPhone Apps

Posted June 24, 2009 at 11:47am by iClarified
Czech
Jailbroken apps may soon be able to send push notifications locally.

KennyTM has crafted a Mobile Substrate extension which fakes push notifications. Being that jailbroken apps can run in the background they don't need to use Apple's push notification services. However, in certain cases it would be nice to have notifications delivered in the same way Apple delivers theirs.

The MobileSubstrate extension called FakePushNotification can be installed in /Library/MobileSubstrate/DynamicLibraries and then be utilized by applications like so:


FakePushNotification com.yourcompany.pushEnabledApp -
aps={
alert={
body = "Hello world!";
action-loc-key = "Welcome!";
};
};

You can download FakePushNotifications from here to try it out. This is not a final release and may contain bugs.

Read More


Fake Push Notifications for Jailbroken iPhone Apps
[Example of push in official app]


Add Comment
Would you like to be notified when someone replies or adds a new comment?
Yes (All Threads)
Yes (This Thread Only)
No
iClarified Icon
Notifications
Would you like to be notified when we post a new Apple news article or tutorial?
Yes
No
Comments (11)
You must login or register to add a comment...
Jay
Jay - June 24, 2009 at 12:39pm
Dont understand the point in this... What in the world would you need to be notified of that was so important from a Jailbroken App?
step21
step21 - June 24, 2009 at 12:38pm
dunno about you guys, but before such experiments I'd like to have working normal push notifications on 2G phones, working youtube (or cycorder/backgrounder) or just overall more stability for 3.0. Then we can talk about things like local push notifications.
Jawad
Jawad - June 24, 2009 at 2:55pm
hi, everybody is talking about push notifications not working on jailbroken phones, have you noticed that email push is also not working? please can you confirm this to me, my gmail push used to work excellently with 2.2.1 and on 3.0 it doesnt work for me, waiting for response..
step21
step21 - June 24, 2009 at 3:43pm
I can't really help you there as I never had email-push enabled, and was under the impression that you need either mobile-me or an exchange server for it, so how did you get it to work for gmail? Apart from that even on non-jb phones (at least 2Gs, not sure about 3G) 3.0 still seems a bit unstable. So maybe it's on normal phones too.
Jawad
Jawad - June 24, 2009 at 3:55pm
well u only need to setup a mail account from settings, gmail is supported by iphone and then enable push, it received email within seconds as they come in, none of the push service is working on 3.0 for me
step21
step21 - June 24, 2009 at 4:02pm
http://forums.macrumors.com/showthread.php?t=606177 this is a linkt to a macrumors thread about this. Seems like it maybe worked, but maybe it also only seemed like it did, i.e. there was a "push" settings option not just in general, but for gmail, but it just would pull every 15 mins or so, this is the most likely explanation in my opinion, cause _officially_ gmail never supported push, so maybe it just seemed quick (15 mins is not that long after all) but it was really 15 min fetch.
Jawad
Jawad - June 24, 2009 at 4:10pm
i see, i had the push option in 2.2.1 and have in 3.0 as well, with 2.2.1 gmail push actually worked for me, i had tested it on a number of occasions, with the push on if i sent an email to my own address that was setup with iphone, i was getting the emails within a matter of seconds, however the fetch option works still but i prefer push because i used to get emails right away
Jawad
Jawad - June 24, 2009 at 4:12pm
as far as checking email aggressively with the push option on, that would have drained the battery within a matter of few hours :-)
gfonk
gfonk - June 25, 2009 at 10:41am
Push never worked for Gmail, Fetch did and it's been working fine on my jailbroken unlocked 2G. Push doesn't work yet though, probably will be fixed in the next Jailbreak.
Jawad
Jawad - June 25, 2009 at 10:54am
i just jailbroke my phone using pwnage tool and push is now working with gmail, i have tested it... push notifications with apps on the other hand arent working..
Jawad
Jawad - June 25, 2009 at 12:12pm
you were right man, i just checked push doesnt work with gmail, no matter push on or off if gmail doesnt support it on iphone, it automatically uses the fetch schedule, thanks for clearing up my confusion :)
Recent. Read the latest Apple News.
RECENT
Tutorials. Help is here.
TUTORIALS
Where to Download macOS Sonoma
Where to Download macOS Ventura
AppleTV Firmware Download Locations
Where To Download iPad Firmware Files From
Where To Download iPhone Firmware Files From
Deals. Save on Apple devices and accessories.
DEALS