0.0.1 • Published 3 years ago

cap-read-sms v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

cap-read-sms

Capacitor Plugin to read the user's SMS (with their permission)

Demo

Install

npm install cap-read-sms

Sync the plugin with capacitor.

npx cap sync

Supported Platforms

PlatformsSupported
Android
iOS
Web🤷‍♂️

API

getSMS(...)

getSMS(options: { timestamp?: string; pageSize?: number; sender?: string; }) => any
ParamType
options{ timestamp?: string; pageSize?: number; sender?: string; }

Returns: any


checkPermission()

checkPermission() => any

Returns: any


requestPermission()

requestPermission() => any

Returns: any


Interfaces

SMS_INTERFACE

PropType
addressstring
bodystring
creatorstring
datestring
date_sentstring
error_codestring
ipmsg_idstring
lockedstring
protocolstring
readstring
reply_path_presentstring
seenstring
service_centerstring
statusstring
sub_idstring
thread_idstring
typestring
_idstring