Skip to main content

Methods

Method NameDescriptionParamateresReturns
checkIfHasSMSPermissionFunction which checks if the application has READ_SMS and RECEIVE_SMS permissionsN/A{ hasReceiveSmsPermission: true/false, hasReadSmsPermission: true \ false }
requestReadSMSPermissionRequests READ_SMS and RECEIVE_SMS permission, if missingN/AReturns true if granted, and false otherwise
startReadSMSStarts listening for incoming messages. Note: SMS Permissions should be present.a callback fnIncoming message body