I'm developing an app (iOS/Android) with SMS validation. The user receives an SMS with the access code. The app validates the code and if it is valid, enter it. So far no problem, but now my client wants the SMS that is recived to be read automatically by the app (as it does whatsapp).
Has anyone done something similar?
Is there a module that allows me to do this?
I'm working with:
Titanium Appcelerator SDK 6.0.4
IPhone / Android
Thanks in advance.
I made this module a while ago to listen to incoming SMS:
https://github.com/m1ga/ti.miga.sms.receive
Should still work with the latest TiSDK
Related
I'm building a hybrid mobile application and wanted to allow the user to get access to a feature only if the user had successfully invited another user through an SMS on both Android and iOS.
From the Android documentation, I can see that Android doesn't work the same as iOS regarding message status:
Android does not provide information about the status of the SMS message, so on Android devices the Promise will always resolve with { result: 'unknown' }.
Does someone have any idea if that's possible on Android and how it's done in Apple?
I've seen it done on another app on iOS with iMessage but don't know how it's possible to implement this flow on Android.
Recently I found some amazing apps
https://play.google.com/store/apps/details?id=com.onetalkapp&hl=en
or
https://play.google.com/store/apps/details?id=com.flyperinc.notifly
They can intercept messages and replay through their UIs without using original messenger apps.
I Know it is possible to monitor incoming messages by Notification with some permissions.
But I have no idea how to send messages out without using original Apps?
It seems to me it might have security issues..
Thanks a lot.
For telegram I know you should create app with telegram API, you can find guidance on the telegram site.
Once you have configured your API key in your app, you could send messages, read them or even get the telegram contacts with these methods.
I'm developing a hybrid mobile app with Ionic Framework.
I've encountered the following problem.
I need to implement the handler which will fire a refresh function in a controller, when the SMS is received. Also I need a possibility to fire this event only when SMS was received from a specific phone number, so I have to get the SMS info too.
I've read docs of cordova-plugin-sms. It has onSMSArrive event, but this plugin doesn't work with iOS, and I'm not sure that it's also working properly on Android.
Also I've found several questions by this topic:
This - handle received sms using ionic framework, but it has no answers.
And this one, which has the similar content.
I hope, that the community knows something new about this topic.
Is it possible to implement such SMS handler with Ionic for now?
By the way, my priority platform to develop is iOS.
Thanks in advance!
On Safari, it is possible to have the following setup:
I pay Apple $100 / month to be a web developer.
I put up a site, say foo.com
When a user visits foo.com on their iPhone, a message pops up, saying "foo.com would like to send you push notifications. Do you allow? YES NO"
If the user clicks yes, then I can send the user push notifications:
without using SMS
without the user ever installing my app
On Android, is it possible to do the same ?
I know that there is something called GCM. However, every GCM tutorial I have found involves:
* writing code in Java
* installing an app on the android device
I also know of other commercial tools that will do the push for me.
However, my question is. On Android, is the following possible:
I register to be a Google dev of some sort.
I put up some code on foo.com
When a user visits foo.com on their android phone, a message pops up saying "foo.com would like to send you push notificaions. Allow? Yes No"
If the user clicks yes, then, by talking to some Google server, I can now send the user push notifications (without the user installing an Android app).
On iOS, we have https://developer.apple.com/notifications/safari-push-notifications/
I want to find the equivalent for Android.
Thanks!
Nope, you would need to get them to deploy an application onto their phone for you to then register and send push notifications to. You have to right that application as well, most likely in java. I don't even think your idea would work on iPhones either without a native app as well..
I have to build a feature in my application which allows user to send a skype message.
For this I have installed skype lite client for Android (although offically the download has been currently withdrawn from Skype).
Now how to initiate the activity from my application OR simply send the chat message without bringing it front, assuming I have skype installed in Android & also signed in already.
Any help ? Thanks.
Unless the application, Skype in this case, has some publicly available Intents you can send (like Twidroid has for tweeting) it is not possible.
Alternatively you could find some kind of a Skype proxy web-service that you could call from within your application to relay the messages.