capacitor-simple-sim
v0.0.1
Published
A capacitor plugin to access device sim cards pertinant informations easily.
Downloads
1
Readme
capacitor-simple-sim
A capacitor plugin to access device sim cards pertinant informations easily.
Install
npm install capacitor-simple-sim
npx cap sync
API
getSims()
getSims() => Promise<{ result: { id: number; name: string; displayName: string; mnc: number; mcc: number; }[]; }>
Returns: Promise<{ result: { id: number; name: string; displayName: string; mnc: number; mcc: number; }[]; }>
callNumber(...)
callNumber(options: { simIndex: number; phoneNumber: string; }) => Promise<{ result: string; }>
| Param | Type |
| ------------- | ------------------------------------------------------- |
| options
| { simIndex: number; phoneNumber: string; } |
Returns: Promise<{ result: string; }>