From 633e9d8e9a39d3ff1ca53e9c00cc2eab4082a216 Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Sat, 21 Apr 2018 13:04:08 +0200 Subject: [PATCH] refactor(facebook): remove deprecated function appInvite --- src/@ionic-native/plugins/facebook/index.ts | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/@ionic-native/plugins/facebook/index.ts b/src/@ionic-native/plugins/facebook/index.ts index 2ba25276..e6a43b6b 100644 --- a/src/@ionic-native/plugins/facebook/index.ts +++ b/src/@ionic-native/plugins/facebook/index.ts @@ -286,24 +286,4 @@ export class Facebook extends IonicNativePlugin { @Cordova() logPurchase(value: number, currency: string): Promise { 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} Returns a Promise that resolves with the result data, or rejects with an error - */ - @Cordova() - appInvite(options: { - url: string, - picture: string - }): Promise { return; } - }