mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
fix(social-sharing): fix issues caused by omitting optional params
closes #1805
This commit is contained in:
parent
1b55513bc4
commit
25c1cf4058
@ -49,7 +49,10 @@ export class SocialSharing extends IonicNativePlugin {
|
||||
* @param url {string} A URL to share
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova()
|
||||
@Cordova({
|
||||
successIndex: 4,
|
||||
errorIndex: 5
|
||||
})
|
||||
share(message?: string, subject?: string, file?: string | string[], url?: string): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user