From 65a8095e5f14e9438c2f6770ca01134888b1838a Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Tue, 9 May 2017 23:33:10 +0200 Subject: [PATCH] feat(social-sharing): add setIPadPopupCoordinates method (#1497) * refactor(social sharing): added missing method fix #1288 * Update index.ts --- src/@ionic-native/plugins/social-sharing/index.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/@ionic-native/plugins/social-sharing/index.ts b/src/@ionic-native/plugins/social-sharing/index.ts index 82e2f7cf23..039627eb93 100644 --- a/src/@ionic-native/plugins/social-sharing/index.ts +++ b/src/@ionic-native/plugins/social-sharing/index.ts @@ -211,4 +211,14 @@ export class SocialSharing extends IonicNativePlugin { platforms: ['iOS', 'Android'] }) shareVia(appName: string, message: string, subject?: string, image?: string, url?: string): Promise { return; } + + /** + * defines the popup position before call the share method. + * @param targetBounds {string} left, top, width, height + */ + @Cordova({ + sync: true, + platforms: ['iOS'] + }) + setIPadPopupCoordinates(targetBounds: string): void { } }