phonegap-build/GAPlugin — pull request #6 by darkv (2013-05-31 12:36:21+00:00)
Title: exit function throws error

When calling the Javascript function GAPlugin.exit(…) an exception is thrown because of the class org.apache.cordova.api.CordovaPlugin (Cordova 2.5+) is trying to construct a JSONArray object when the given JSON string is null. This patch adds an empty JSON array to the exec-call to prevent that error.