mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-04 00:13:06 +08:00
parent
fa4721319e
commit
e150224cda
@ -28,10 +28,8 @@ export class SocialSharing {
|
|||||||
* @param file {string|Array<string>} URL(s) to file(s) or image(s), local path(s) to file(s) or image(s), or base64 data of an image. Only the first file/image will be used on Windows Phone.
|
* @param file {string|Array<string>} URL(s) to file(s) or image(s), local path(s) to file(s) or image(s), or base64 data of an image. Only the first file/image will be used on Windows Phone.
|
||||||
* @param url {string} A URL to share
|
* @param url {string} A URL to share
|
||||||
*/
|
*/
|
||||||
@Cordova({
|
@Cordova()
|
||||||
sync: true
|
static share (message?: string, subject?: string, file?: string|Array<string>, url?: string): Promise<any> {return; }
|
||||||
})
|
|
||||||
static share (message?: string, subject?: string, file?: string|Array<string>, url?: string): void {}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Shares using the share sheet with additional options and returns a result object or an error message (requires plugin version 5.1.0+)
|
* Shares using the share sheet with additional options and returns a result object or an error message (requires plugin version 5.1.0+)
|
||||||
@ -58,10 +56,9 @@ export class SocialSharing {
|
|||||||
* @param url
|
* @param url
|
||||||
*/
|
*/
|
||||||
@Cordova({
|
@Cordova({
|
||||||
sync: true,
|
|
||||||
platforms: ['iOS', 'Android']
|
platforms: ['iOS', 'Android']
|
||||||
})
|
})
|
||||||
static shareViaTwitter (message: string, image?: string, url?: string): void {}
|
static shareViaTwitter (message: string, image?: string, url?: string): Promise<any> {return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Shares directly to Facebook
|
* Shares directly to Facebook
|
||||||
|
Loading…
Reference in New Issue
Block a user