Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apptentive-cordova

Package Overview
Dependencies
Maintainers
0
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apptentive-cordova - npm Package Compare versions

Comparing version 6.8.0 to 6.9.0

4

.scripts/changes.md

@@ -1,2 +0,2 @@

- Apptentive Android SDK: 6.8.0
- Apptentive iOS SDK: 6.8.1
- Apptentive Android SDK: 6.9.0
- Apptentive iOS SDK: 6.9.0

@@ -8,2 +8,7 @@ # Apptentive Cordova Changelog

# 2024-10-03 - v6.9.0
- Apptentive Android SDK: 6.9.0
- Apptentive iOS SDK: 6.9.0
# 2024-06-26 - v6.8.0

@@ -10,0 +15,0 @@

{
"name": "apptentive-cordova",
"version": "6.8.0",
"version": "6.9.0",
"description": "Apptentive Plugin For Cordova",

@@ -5,0 +5,0 @@ "cordova": {

var Apptentive = {
distributionVersion: "6.8.0",
distributionVersion: "6.9.0",
addCustomDeviceData: function (successCallback, errorCallback, key, value) {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "addCustomDeviceData", [key, value]);
},
addCustomDeviceData: function (successCallback, errorCallback, key, value) {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"addCustomDeviceData",
[key, value]
);
},
addCustomPersonData: function (successCallback, errorCallback, key, value) {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "addCustomPersonData", [key, value]);
},
addCustomPersonData: function (successCallback, errorCallback, key, value) {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"addCustomPersonData",
[key, value]
);
},
deviceReady: function (successCallback, errorCallback) {
console.log("Apptentive.deviceReady()");
this.registerWithLogs(successCallback, errorCallback, "Info");
},
deviceReady: function (successCallback, errorCallback) {
console.log("Apptentive.deviceReady()");
this.registerWithLogs(successCallback, errorCallback, "Info");
},
registerWithLogs: function (successCallback, errorCallback, loglevel) {
console.log("Apptentive.registerWithLogs()");
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "deviceReady", [this.distributionVersion, loglevel]);
},
registerWithLogs: function (successCallback, errorCallback, loglevel) {
console.log("Apptentive.registerWithLogs()");
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"deviceReady",
[this.distributionVersion, loglevel]
);
},
engage: function (successCallback, errorCallback, eventName, customData) {
if (customData && typeof customData === 'object') {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "engage", [eventName, customData]);
} else {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "engage", [eventName]);
}
},
engage: function (successCallback, errorCallback, eventName, customData) {
if (customData && typeof customData === "object") {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"engage",
[eventName, customData]
);
} else {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"engage",
[eventName]
);
}
},
getUnreadMessageCount: function (successCallback, errorCallback) {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "getUnreadMessageCount", []);
},
getUnreadMessageCount: function (successCallback, errorCallback) {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"getUnreadMessageCount",
[]
);
},
putRatingProviderArg: function (successCallback, errorCallback, key, value) {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "putRatingProviderArg", [key, value]);
},
putRatingProviderArg: function (successCallback, errorCallback, key, value) {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"putRatingProviderArg",
[key, value]
);
},
removeCustomDeviceData: function (successCallback, errorCallback, key) {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "removeCustomDeviceData", [key]);
},
removeCustomDeviceData: function (successCallback, errorCallback, key) {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"removeCustomDeviceData",
[key]
);
},
removeCustomPersonData: function (successCallback, errorCallback, key) {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "removeCustomPersonData", [key]);
},
removeCustomPersonData: function (successCallback, errorCallback, key) {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"removeCustomPersonData",
[key]
);
},
getPersonEmail: function (successCallback, errorCallback) {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "getPersonEmail", []);
},
getPersonEmail: function (successCallback, errorCallback) {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"getPersonEmail",
[]
);
},
setPersonEmail: function (successCallback, errorCallback, email) {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "setPersonEmail", [email]);
},
setPersonEmail: function (successCallback, errorCallback, email) {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"setPersonEmail",
[email]
);
},
getPersonName: function (successCallback, errorCallback) {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "getPersonName", []);
},
getPersonName: function (successCallback, errorCallback) {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"getPersonName",
[]
);
},
setPersonName: function (successCallback, errorCallback, name) {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "setPersonName", [name]);
},
setPersonName: function (successCallback, errorCallback, name) {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"setPersonName",
[name]
);
},
setRatingProvider: function (successCallback, errorCallback, ratingProviderName) {
successCallback(); // Deprecated. Use the ANDROID_CUSTOM_APP_STORE_URL variable instead.
},
setRatingProvider: function (
successCallback,
errorCallback,
ratingProviderName
) {
successCallback(); // Deprecated. Use the ANDROID_CUSTOM_APP_STORE_URL variable instead.
},
addUnreadMessagesListener: function (unreadMessagesCallback, errorCallback) {
cordova.exec(unreadMessagesCallback, errorCallback, "ApptentiveBridge", "addUnreadMessagesListener", []);
},
addUnreadMessagesListener: function (unreadMessagesCallback, errorCallback) {
cordova.exec(
unreadMessagesCallback,
errorCallback,
"ApptentiveBridge",
"addUnreadMessagesListener",
[]
);
},
addSurveyFinishedListener: function (surveyFinishedCallback, errorCallback) {
cordova.exec(surveyFinishedCallback, errorCallback, "ApptentiveBridge", "setOnSurveyFinishedListener", []);
},
addSurveyFinishedListener: function (surveyFinishedCallback, errorCallback) {
cordova.exec(
surveyFinishedCallback,
errorCallback,
"ApptentiveBridge",
"setOnSurveyFinishedListener",
[]
);
},
showMessageCenter: function (successCallback, errorCallback, customData) {
if (customData) {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "showMessageCenter", [customData]);
} else {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "showMessageCenter", []);
}
},
showMessageCenter: function (successCallback, errorCallback, customData) {
if (customData) {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"showMessageCenter",
[customData]
);
} else {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"showMessageCenter",
[]
);
}
},
canShowMessageCenter: function (successCallback, errorCallback) {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "canShowMessageCenter", []);
},
canShowMessageCenter: function (successCallback, errorCallback) {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"canShowMessageCenter",
[]
);
},
canShowInteraction: function (successCallback, errorCallback, eventName) {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "canShowInteraction", [eventName]);
},
canShowInteraction: function (successCallback, errorCallback, eventName) {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"canShowInteraction",
[eventName]
);
},
setProperty: function (successCallback, errorCallback, key, value) {
successCallback(); // Does nothing on Android
},
setProperty: function (successCallback, errorCallback, key, value) {
successCallback(); // Does nothing on Android
},
login: function (successCallback, errorCallback, token) {
successCallback(); // Does nothing on Android. We are working on re-implementing this feature.
},
login: function (successCallback, errorCallback, token) {
successCallback(); // Does nothing on Android. We are working on re-implementing this feature.
},
logout: function (successCallback, errorCallback) {
successCallback(); // Does nothing on Android. We are working on re-implementing this feature.
},
logout: function (successCallback, errorCallback) {
successCallback(); // Does nothing on Android. We are working on re-implementing this feature.
},
sendAttachmentText: function (successCallback, errorCallback, text) {
cordova.exec(successCallback, errorCallback, "ApptentiveBridge", "sendAttachmentText", [text]);
},
sendAttachmentText: function (successCallback, errorCallback, text) {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"sendAttachmentText",
[text]
);
},
setPushNotificationIntegration: function (
successCallback,
errorCallback,
token
) {
cordova.exec(
successCallback,
errorCallback,
"ApptentiveBridge",
"setPushNotificationIntegration",
[token]
);
},
};
module.exports = Apptentive;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc