Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exit function throws error #6

Merged
merged 1 commit into from Jun 5, 2013
Merged

Conversation

darkv
Copy link

@darkv darkv commented May 31, 2013

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.

@bobeast
Copy link

bobeast commented Jun 5, 2013

looks reasonable. thanks.

bobeast added a commit that referenced this pull request Jun 5, 2013
exit function throws error
@bobeast bobeast merged commit b846630 into phonegap-build:master Jun 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants