pyo25 / phonegap-sms-reception-plugin Goto Github PK
View Code? Open in Web Editor NEWThis Android Phonegap plugin allows you to intercept incoming SMS in your application.
This Android Phonegap plugin allows you to intercept incoming SMS in your application.
Always getting this error message
"Error while checking the SMS support". Tried in emulator and in device
Automatic OTP reading is not working in marshmallow until turn on SMS permission from app info manually.
The popup should come and ask for SMS permission when the app starts.
It's working well in lollipop.
Hi there Pyo25,
I've checked out your plugin and it seems to work fine. I'm planning to use it to catch SMS messages send by my own website to verify the mobile phone of a user and link the mobile app to their web account.
Google is making a seemingly big change to the SMS behaviour in KitKat:
http://android-developers.blogspot.nl/2013/10/getting-your-sms-apps-ready-for-kitkat.html
Will your plugin still work after these changes?
I would appreciate your answer. We will notify you of any improvements my team makes to the plugin.
Kind regards, Robert
I have placed SmsInboxPlugin.java and SmsReciever.java in the org.apache.cordova.plugin, and SmsInboxPlugin.js in www folder.
in config.xml.
Using cordova-2.9.1.
Thanks for writing this plugin. It seems to work well!
The problem is that it doesn't work when the app is paused or stopped...
I would like to get it to work similarly to how Google Cloud Messaging works: when a message comes in, the app wakes up (or is started, in the case of GCM) and can do something like posting a notification (after doing some processing to determine whether the message is of interest).
To get that to work, though, it seems that the service would have to be started at boot time or it would miss all messages until the user started it.
So is there a way to get all this to work with your plugin?
Thanks again!
While reciveing the sms, it gets splited in to parts. I think because,when the sms hits the cell phone sms-reciever broadcasts it imediatly, but still its second part has not arrived. This happens in fraction of seconds so that we look at it we can't predict it.
Actually I debugg it and fin that when ever the sms is large than I get only first part in success callback, then again success callback is been called in which the remaing part is present.
Please if have a solution for this problem share it. I'm also trying to sort it.
Might help saving some time, getOriginatingAddress() was removed in PR #7
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.