diff --git a/www/android/IntentPlugin.js b/www/android/IntentPlugin.js
index <HASH>..<HASH> 100644
--- a/www/android/IntentPlugin.js
+++ b/www/android/IntentPlugin.js
@@ -17,16 +17,12 @@ IntentPlugin.prototype.getCordovaIntent = function(successCallback, failureCallb
 IntentPlugin.prototype.setNewIntentHandler = function(method) {
     'use strict';
 
-    var defaults = {
-        method: method
-    };
-
     cordova.exec (
-        null,
+        method,
         null,
         "IntentPlugin",
         "setNewIntentHandler",
-        [defaults]
+        []
     );
 };
Fix to javascript file. Did not pass callback