
Though the jailbroken iPhones does NOT need Push notification, it can still be pretty much useful (and fancy!) in some cases and maybe will even bring new kind of apps on Cydia soon.
KennyTM (the same guy who created GRiP, Growl for iPhone) has developed a small extension to MobileSubstrate - called FakePushNotification - that lets developers add push notification to their apps using some simple code. To install the extension, simply get it off the googlecode page and the files in following directories using SSH.
- Put the .dylib and the .plist to /Library/MobileSubstrate/DynamicLibraries
- Put the executable (FakePushNotification) to /usr/bin and chmod a+x it.
FakePushNotification com.yourcompany.pushEnabledApp -
aps={
alert={
body = "Hello world!";
action-loc-key = "Welcome!";
};
};
^D
aps={
alert={
body = "Hello world!";
action-loc-key = "Welcome!";
};
};
^D
NOTE: This is not the final release and may have certain bugs.
networkpx via iClarified