Skip to content

Commit

Permalink
feat(social-sharing): add setIPadPopupCoordinates method (#1497)
Browse files Browse the repository at this point in the history
* refactor(social sharing): added missing method

fix #1288

* Update index.ts
  • Loading branch information
danielsogl authored and ihadeed committed May 9, 2017
1 parent 70c9558 commit 65a8095
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/@ionic-native/plugins/social-sharing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,14 @@ export class SocialSharing extends IonicNativePlugin {
platforms: ['iOS', 'Android']
})
shareVia(appName: string, message: string, subject?: string, image?: string, url?: string): Promise<any> { 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 { }
}

0 comments on commit 65a8095

Please sign in to comment.