Capacitor Plugin to read the user's SMS (with their permission)
npm install cap-read-sms
Sync the plugin with capacitor.
npx cap sync
Platforms | Supported |
---|---|
Android | ✅ |
iOS | ❌ |
Web | 🤷♂️ |
getSMS(options: { timestamp?: string; pageSize?: number; sender?: string; }) => any
Param | Type |
---|---|
options |
{ timestamp?: string; pageSize?: number; sender?: string; } |
Returns: any
checkPermission() => any
Returns: any
requestPermission() => any
Returns: any
Prop | Type |
---|---|
address |
string |
body |
string |
creator |
string |
date |
string |
date_sent |
string |
error_code |
string |
ipmsg_id |
string |
locked |
string |
protocol |
string |
read |
string |
reply_path_present |
string |
seen |
string |
service_center |
string |
status |
string |
sub_id |
string |
thread_id |
string |
type |
string |
_id |
string |