Assume we have a HTML5 web page embedded within a PhoneGap or Titanium app.
Can the app invoke JavaScript functions found within the HTML5 web page?
Specifically: after the app receives an Apple push notification, how can the app invoke one of the JS functions on the web page?
Thanks!
Are you asking how to do it in PhoneGap? or are you asking how PhoneGap does it?
How PhoneGap does it:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWebView_Class/Reference/Reference.html
UIWebView‘sstringByEvaluatingJavaScriptFromString:method.Edit: how to respond to push notifications in phonegap: can we do push notification in iphone using phonegap framework?