I try to use this component: Call StartWatch (with success, checked all the output parameters: plugin available, Permissions granted Watching=true), but the app doesn't get the SMSRecieved-event triggerd. Tried to debug it with cable, but no success, the event simply doesn't get triggered. Sending an SMS works.
Any idea?
Hi Joost,
Let me inform you that Google will start blocking Apps that access the SMS content from the Mobile Phones. They will be rejected\removed from Play Store.
I don't know if that's the case but probably you might need to rethink your app logic.
If it's not the scenario please let me know.
Cheers,
Hi Pedro,
Thanks for your very quick response!
It's not an app I want to put in the store. Just for personal use: to forward an incoming SMS to a Mailbox.
Kind regards,
Joost
No problem Joost,
In order to achieve that, please use this component:
SMS Receiver Plugin
Thanks again.
Seems like that component only proactive can receive the sms. It doesn't have an event that automaticly gets triggered when an sms is received.
You're welcome!
Still no success: When actively trying to forward the sms with the last plugin I get: SmsReceiver is not defined.
My case is: i want to have the app (in the background) automaticly forward any incoming sms's.
Hi Pedro Domingues,
I am also trying to implement this plugin.
I have a scenario where i want to parse a specific OTP related SMS from a specific sender in my device and then read the OTP value from SMS content and populate OTP input control to auto-fill OTP.
Somehow, sms receive event is not triggering although i have registered required listener using startwatch client action.
Any help?
Regards,
Abid
Abid Hussain wrote:
Hi Abid,
Which plugin are you using?
In order to achieve that you should use the SMS Receiver Plugin
Hello Everyone, I am using this Component to listen SMS and to fetch OTP from that but am unable to generate build for android, Getting extensibility configuration Error.Can anyone help me on this to fix this?The Existing Configuration:
{ "plugin": { "cordova-plugin-sms-receiver": { "source": "git", "url": "https://github.com/rehy/cordova-plugin-sms-receiver.git", "version": "v1.0.0" } }}And Error am getting:Thank You!
Hi Rakesh, how are you doing?
Thanks for reaching out.
Did you saw my previous comment? For the purpose you're describing, i believe the right component is the SMS Receiver Plugin and not this one.
Pedro Domingues