callback/callback-ios — pull request #7 by buddydvd (2011-11-01 06:54:18+00:00)
Title: Make connection plugin work with iOS <4.0.

UIApplicationDidEnterBackgroundNotification and
UIApplicationWillEnterForegroundNotification are
only available for iOS 4.0 and higher. This change
tests to see if the notification name symbols are
defined before subscribing to them.

Related: http://stackoverflow.com/questions/3002833