docs(intercom): add deprecated notice for setSecureMode

docs(intercom): add deprecated notice for setSecureMode
This commit is contained in:
Daniel Sogl 2018-03-17 00:57:39 +01:00 committed by GitHub
commit 54e8b90cdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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; }