phonegap/phonegap-plugins — pull request #910 by robdiciuccio (2012-11-26 14:01:55+00:00)
Title: [iOS] GoogleAnalytics: handle empty 'value' arguments to trackEvent

Passing a null 'value' argument to trackEvent would result in the following exception:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull intValue]: unrecognized selector sent to instance 0x3f6785e0'

Plugin now passes a negative integer for empty values, per GA iOS SDK documentation.