56
Views
7
Comments
[SMS Cordova Plugin] How to make app that read my SMS
Question
sms-cordova-plugin
Mobile icon
Forge asset by Pedro Domingues
Application Type
Mobile

Hi ,


I'm new to the OutSystems platform,I want to make an application that reads my SMS for that I have installed Cordova SMS plugin from Forge but I'm not understanding how to implement this functionality can you please help me with that?

2023-02-20 10-34-29
Fahad khan

Post Your App View?

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

What does that mean "post your app view"?

UserImage.jpg
Mayuri Hunge

it means that when the text msg arrived on the android phone then it will capture by that application.

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi,

I selected on your original post, what I think is the Forge component you try to use, can you confirm that is the correct one? Next time, please do this yourself when posting the question. It makes it easier for community members to help you.

Are you aware this plugin is only for Android, so if you have an Apple phone it will not work.

Regards,

Daniel

UserImage.jpg
Mayuri Hunge

if you have any reference document regarding the Cordova SMS plugin, can you please share it with me.

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi,

Not sure what problems you have implementing it, I created this app in 5 minutes, and it shows the JSON return from the SMSList action with all the read messages from the Inbox.

I didn't really bother to format it, but that should not be a big task, copy and paste the JSON to generate a structure and then use that onwards in your app.

See attached application, be aware the plugin only works on Android phones.

I only tried out the SMSList action, it works, so I gues the others should work also, including the event handler to act upon receiving a new SMS.

Regards,

Daniel


SMS Cordova Plugin Demo.oap
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.