mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-08-04 00:00:08 +08:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4e29a08a09 |
@@ -304,6 +304,7 @@ export class CFPaymentGateway extends AwesomeCordovaNativePlugin {
|
||||
/**
|
||||
* Initiate Drop Payment.
|
||||
* @param {CFDropCheckoutPayment} [dropObject] dropPaymentObject information
|
||||
* @deprecated Use doWebCheckoutPayment instead. Deprecated upstream as of cordova-plugin-cashfree-pg 1.1.0.
|
||||
*/
|
||||
@Cordova()
|
||||
doDropPayment(dropObject: CFDropCheckoutPayment) {
|
||||
|
||||
@@ -18,12 +18,6 @@ export interface SmsOptionsAndroid {
|
||||
* Set to "INTENT" to send SMS with the native android SMS messaging. Leaving it empty will send the SMS without opening any app.
|
||||
*/
|
||||
intent?: string;
|
||||
|
||||
/**
|
||||
* Selects which SIM to use on dual-SIM devices when sending with no intent. Use "0" for the primary SIM slot and "1" for the secondary SIM slot.
|
||||
* If no slot is specified the default SIM slot will be used.
|
||||
*/
|
||||
slot?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -84,16 +78,4 @@ export class SMS extends AwesomeCordovaNativePlugin {
|
||||
hasPermission(): Promise<boolean> {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Requests permission to send SMS (Android Marshmallow and later)
|
||||
*
|
||||
* @returns {Promise<boolean>} returns a promise that resolves with a boolean that indicates if permission was granted
|
||||
*/
|
||||
@Cordova({
|
||||
platforms: ['Android'],
|
||||
})
|
||||
requestPermission(): Promise<boolean> {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user