mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
refactor(plugin): change plugin params
This commit is contained in:
parent
a1bdff6b24
commit
74573a366f
@ -27,20 +27,21 @@ export interface smsOptionsAndroid {
|
||||
* Requires Cordova plugin: cordova-plugin-sms. For more info, please see the [SMS plugin docs](https://github.com/cordova-sms/cordova-sms-plugin).
|
||||
*
|
||||
* ```shell
|
||||
* cordova plugin add https://github.com/cordova-sms/cordova-sms-plugin.git
|
||||
* cordova plugin add cordova-sms-plugin
|
||||
* ```
|
||||
*
|
||||
* @usage
|
||||
* ```ts
|
||||
*
|
||||
* // Send a text message using default options
|
||||
* SMS.send('6476245170','Hello world!');
|
||||
* SMS.send('416123456','Hello world!');
|
||||
*
|
||||
* ```
|
||||
*/
|
||||
@Plugin({
|
||||
plugin: 'https://github.com/cordova-sms/cordova-sms-plugin.git',
|
||||
pluginRef: 'sms'
|
||||
plugin: 'cordova-sms-plugin',
|
||||
pluginRef: 'sms',
|
||||
repo: 'https://github.com/cordova-sms/cordova-sms-plugin.git'
|
||||
})
|
||||
export class SMS {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user