diff --git a/plugin.xml b/plugin.xml
index 5ca07f6..0fb7969 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -20,7 +20,7 @@
-
+
@@ -36,8 +36,8 @@
-
- $PRODUCT_KEY
+
+ $API_KEY
$API_URL
diff --git a/www/feedback.js b/www/feedback.js
index 4879689..3330526 100644
--- a/www/feedback.js
+++ b/www/feedback.js
@@ -45,17 +45,17 @@ var cordova = require('cordova'),
window.addEventListener('deviceready', function () {
cordova.exec(function(data) {
- if(data.productKey !== "YourKeyHere"){
+ if(data.apiKey !== "YourKeyHere"){
var feedbackOptions = {
enableShake: data.enableShake,
apiUrl: data.apiUrl
};
- feedback.initialize(data.productKey, feedbackOptions);
+ feedback.initialize(data.apiKey, feedbackOptions);
}
}, function(err) {
window.data = err;
console.log('Unable to read required plugin variables: ' + err);
- }, 'AppFeedback', 'GetVariables', [ 'productKey', 'apiUrl', 'enableShake' ]);
+ }, 'AppFeedback', 'GetVariables', [ 'apiKey', 'apiUrl', 'enableShake' ]);
}, true);