capacitor-ussd
v0.0.21
Published
A capacitor that allows you to read available device SIM card and manage USSD flows.
Readme
capacitor-ussd
Hybrid Ussd facilitator
Install
npm install capacitor-ussd
npx cap syncAPI
trigger(...)
trigger(ussdOptions: Ussd) => Promise<Ussd>| Param | Type |
| ----------------- | ------------------------------------- |
| ussdOptions | Ussd |
Returns: Promise<Ussd>
getSimCards()
getSimCards() => Promise<any>Returns: Promise<any>
isPermissionGranted()
isPermissionGranted() => Promise<{ granted: boolean; }>Returns: Promise<{ granted: boolean; }>
Interfaces
Ussd
| Prop | Type |
| ----------------- | ------------------- |
| code | string |
| sim | number |
| networkCode | string |
