cordova-plugin-intercom
Advanced tools
Comparing version 12.1.0 to 13.1.0
{ | ||
"name": "cordova-plugin-intercom", | ||
"version": "12.1.0", | ||
"version": "13.1.0", | ||
"description": "Official Cordova/PhoneGap plugin for Intercom", | ||
@@ -30,7 +30,7 @@ "cordova": { | ||
"name": "cordova-android", | ||
"version": ">=9.0.0" | ||
"version": ">=10.0.0" | ||
}, | ||
{ | ||
"name": "cordova-ios", | ||
"version": ">=6.1.1" | ||
"version": ">=6.2.0" | ||
} | ||
@@ -37,0 +37,0 @@ ], |
var intercom = { | ||
registerIdentifiedUser: function(options, success, error) { | ||
cordova.exec(success, error, 'Intercom', 'registerIdentifiedUser', [options]); | ||
cordova.exec(success, error, 'Intercom', 'loginUserWithUserAttributes', [options]); | ||
console.warn('registerIdentifiedUser() is deprecated and will be removed in a future release. Please use loginUserWithUserAttributes()'); | ||
}, | ||
loginUserWithUserAttributes: function(options, success, error) { | ||
cordova.exec(success, error, 'Intercom', 'loginUserWithUserAttributes', [options]); | ||
}, | ||
registerUnidentifiedUser: function(options, success, error) { | ||
cordova.exec(success, error, 'Intercom', 'registerUnidentifiedUser', []); | ||
cordova.exec(success, error, 'Intercom', 'loginUnidentifiedUser', []); | ||
console.warn('registerUnidentifiedUser() is deprecated and will be removed in a future release. Please use loginUnidentifiedUser()'); | ||
}, | ||
loginUnidentifiedUser: function(options, success, error) { | ||
cordova.exec(success, error, 'Intercom', 'loginUnidentifiedUser', []); | ||
}, | ||
reset: function(success, error) { | ||
cordova.exec(success, error, 'Intercom', 'logout', []); | ||
console.warn('reset() is deprecated and will be removed in a future release. Please use logout()'); | ||
}, | ||
logout: function(success, error) { | ||
@@ -18,6 +30,2 @@ cordova.exec(success, error, 'Intercom', 'logout', []); | ||
setSecureMode: function(secureHash, secureData, success, error) { | ||
cordova.exec(success, error, 'Intercom', 'setSecureMode', [secureHash, secureData]); | ||
}, | ||
setUserHash: function(secureHash, success, error) { | ||
@@ -38,13 +46,15 @@ cordova.exec(success, error, 'Intercom', 'setUserHash', [secureHash]); | ||
}, | ||
displayMessageComposer: function(success, error) { | ||
cordova.exec(success, error, 'Intercom', 'displayMessageComposer', []); | ||
console.warn('displayMessageComposer() is deprecated and will be removed in a future release. Please use displayMessageComposer(initialMessage)') | ||
}, | ||
displayMessageComposerWithInitialMessage: function(initialMessage, success, error) { | ||
cordova.exec(success, error, 'Intercom', 'displayMessageComposerWithInitialMessage', [initialMessage]); | ||
cordova.exec(success, error, 'Intercom', 'displayMessageComposer', [initialMessage]); | ||
console.warn('displayMessageComposerWithInitialMessage(initialMessage) is deprecated and will be removed in a future release. Please use displayMessageComposer(initialMessage)') | ||
}, | ||
displayConversationsList: function(success, error) { | ||
cordova.exec(success, error, 'Intercom', 'displayConversationsList', []); | ||
displayMessageComposer: function(initialMessage, success, error) { | ||
cordova.exec(success, error, 'Intercom', 'displayMessageComposer', [initialMessage]); | ||
}, | ||
@@ -51,0 +61,0 @@ |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67414
197