Update Intercom docs to use setUserHash

This commit is contained in:
Ionitron 2018-02-12 17:42:20 +08:00
parent 954bd876de
commit 7be82a40b5

View File

@ -60,6 +60,7 @@ export class Intercom extends IonicNativePlugin {
* @param secureHash {string}
* @param secureData {any}
* @return {Promise<any>} Returns a promise
* @deprecated Use setUserHash instead as of Intercom Cordova 4.0.0 and higher https://github.com/intercom/intercom-cordova/blob/master/CHANGELOG.md#400-2017-08-29
*/
@Cordova()
setSecureMode(secureHash: string, secureData: any): Promise<any> { return; }