refactor(facebook): remove deprecated function appInvite

This commit is contained in:
David Dal Busco 2018-04-21 13:04:08 +02:00 committed by Daniel Sogl
parent 30f5b71f4a
commit 633e9d8e9a

View File

@ -286,24 +286,4 @@ export class Facebook extends IonicNativePlugin {
@Cordova()
logPurchase(value: number, currency: string): Promise<any> { return; }
/**
* Open App Invite dialog. Does not require login.
*
* For more information see:
*
* the App Invites Overview - https://developers.facebook.com/docs/app-invites/overview
* the App Links docs - https://developers.facebook.com/docs/applinks
*
*
* @param {Object} options An object containing an [App Link](https://developers.facebook.com/docs/applinks) URL to your app and an optional image URL.
* @param {string} options.url [App Link](https://developers.facebook.com/docs/applinks) to your app
* @param {string} [options.picture] image to be displayed in the App Invite dialog
* @returns {Promise<any>} Returns a Promise that resolves with the result data, or rejects with an error
*/
@Cordova()
appInvite(options: {
url: string,
picture: string
}): Promise<any> { return; }
}