Best SMS plugin to use with ionic?

Best SMS plugin that supports read and send of messages?

Hy @raberana.
Best practice is use the ngCordova for send message. But unfortunatelly i dont think that they already can read Message. You can use this cordova plugin for read message : https://github.com/dimitrismistriotis/ReadSmsCordovaPlugin

1 Like

Hope they will implement it soon :slight_smile:

You should try this one:

It works perfectly, but android only, as iOS does not allow reading SMS.

1 Like

#===============TUTORIAL================


Hi guys, I wrote a whole tutorial for you, find it here it’s using ngCordova SMS plugin so it WILL work with Ionic.

If you need more information feel free to ask, I’m always here.

I wrote it from the Android perspective. I tested everything on a real device and code us reusable.

No permissions are required, everything is configured automatically.

Few notes:

  • this ngCordova SMS plugin will not work on any Android version lower then 4.4.2.

  • You are required to use Whitelist plugin meta tag

  • Whitelist plugin at the same time required Cordova 5.0+ so make sure you have a latest one

I could not perform at my cord design, ionic or phonegap.
Me returns a Class not found error.
What am I doing wrong?

At what point? And what error?

The error is only “Class not found!”.

Come on, I’m here to help you, don’t make this harder then it needs to be. How am I going to help you if you’re not talking?

At what point are you receiving this error?

What’s happening?

There must be more text, what class? At what line?

See my issue:

https://github.com/dimitrismistriotis/ReadSmsCordovaPlugin/issues/4

This error on console is:

$ adb logcat | grep -i "Console"
I/chromium( 8860): [INFO:CONSOLE(21157)] "TypeError: cordova.exec is not a function
I/chromium( 8860): [INFO:CONSOLE(1183)] "deviceready has not fired after 5 seconds.", source: file:///android_asset/www/cordova.js (1183)
I/chromium( 8860): [INFO:CONSOLE(1176)] "Channel not fired: onPluginsReady", source: file:///android_asset/www/cordova.js (1176)
I/chromium( 8860): [INFO:CONSOLE(1176)] "Channel not fired: onCordovaReady", source: file:///android_asset/www/cordova.js (1176)

Hi i tried to use the plugin i dont seem to be moving ahead need help

Hey guys,

Any updates on this?
As I realized, you cant handle received messages on iOS? Any workaround?

Also, a long shot, but has anyone made something that can handle received messages from specific numbers?

Read SMS message plugin 100% working see here http://programmingcindia.blogspot.in/2016/12/ionic-cordova-plugin-to-read-sms.html

You don’t really need to use ngCordova, you can use the Cordova SMS plugin directly https://github.com/cordova-sms/cordova-sms-plugin.git

To read SMS you might want to try https://github.com/dimitrismistriotis/ReadSmsCordovaPlugin

here’s a tutorial on how to create an application for buying public transport tickets via SMS: http://www.coding-dude.com/wp/mobile-apps/ionic-app-tutorial-create-a-mobile-app-for-purchasing-public-transport-tickets-via-sms/

Hii, See this article for read sms plugin working on Android with Ionic 3 http://www.programmingworldtech.com/2017/09/ionic-3-cordova-read-sms-plugin.html

1 Like