I want to build a functionality in which the app can read SMS received on the user’s app. It works as follows -
- The user signs up on the app using his phone number, name etc. The server sends an SMS to the phone number with a 4 digit confirmation code.
- On the next screen, the user is supposed to enter the confirmation code received by SMS.
- The above step where the user has to enter the confirmation code could be done automatically. The screen can wait for the SMS to be received and automatically read the SMS and enter the confirmation code and submit.
We find the exact same functionality in various apps for Android like WhatsApp. Is there a way I can do this in Ionic? I’m guessing we have to use some cordova plugin. Can someone point me to something which might help?