@jonz94/capacitor-read-sms
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

@jonz94/capacitor-read-sms

Capacitor Plugin to read SMS

Install

npm install @jonz94/capacitor-read-sms
npx cap sync

API

getSMS(...)

getSMS(options: { timestamp?: string; pageSize?: number; sender?: string; }) => Promise<{ value: SMS[]; }>
Param Type
options { timestamp?: string; pageSize?: number; sender?: string; }

Returns: Promise<{ value: SMS[]; }>


checkPermission()

checkPermission() => Promise<{ value: PERMISSION; }>

Returns: Promise<{ value: PERMISSION; }>


requestPermission()

requestPermission() => Promise<{ value: PERMISSION; }>

Returns: Promise<{ value: PERMISSION; }>


Interfaces

SMS

Prop Type
_id string
thread_id string
address string
date string
date_sent string
protocol string
read string
status string
type string
reply_path_present string
body string
error_code string
creator string
seen string
priority string
sequence_time string
server_time string

Type Aliases

PERMISSION

'granted' | 'denied'

Readme

Keywords

Package Sidebar

Install

npm i @jonz94/capacitor-read-sms

Weekly Downloads

0

Version

0.0.1

License

Unlicense

Unpacked Size

24.5 kB

Total Files

20

Last publish

Collaborators

  • jonz94