[SMS Cordova Plugin] Can we read only financial SMS?

Forge Component
(0)
Published on 17 Jun by Pedro Domingues
0 votes
Published on 17 Jun by Pedro Domingues

Hi Team,

I need to fetch only financial SMS using this SMS plugin.

is this possible?

if yes then please share a info.

Hi,

The plugin will fetch the SMS, if you only need the financial ones, you can filter by keyword and show only the financial one to the UI.


Swapnil Shinde wrote:

Hi Team,

I need to fetch only financial SMS using this SMS plugin.

is this possible?

if yes then please share a info.

 Hi Swapnil,

As Toto said previously, you can read whatever you want.

If you want to read only Financial SMS, you need to create a pattern that recognizes those Financial SMS's (using a regex pattern for instance) and if it matches that pattern you can dig into the SMS content.

You can also use the sender phone number if it's always the same number.

Cheers,

Pedro Domingues