refactor(plugin): change plugin params

This commit is contained in:
Ibrahim Hadeed 2016-03-12 18:33:10 -05:00
parent a1bdff6b24
commit 74573a366f

View File

@ -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). * Requires Cordova plugin: cordova-plugin-sms. For more info, please see the [SMS plugin docs](https://github.com/cordova-sms/cordova-sms-plugin).
* *
* ```shell * ```shell
* cordova plugin add https://github.com/cordova-sms/cordova-sms-plugin.git * cordova plugin add cordova-sms-plugin
* ``` * ```
* *
* @usage * @usage
* ```ts * ```ts
* *
* // Send a text message using default options * // Send a text message using default options
* SMS.send('6476245170','Hello world!'); * SMS.send('416123456','Hello world!');
* *
* ``` * ```
*/ */
@Plugin({ @Plugin({
plugin: 'https://github.com/cordova-sms/cordova-sms-plugin.git', plugin: 'cordova-sms-plugin',
pluginRef: 'sms' pluginRef: 'sms',
repo: 'https://github.com/cordova-sms/cordova-sms-plugin.git'
}) })
export class SMS { export class SMS {