I have an application dedicated only to specific phone number users. When using this application, you must enter the pin code received by SMS each time. Is it possible for the application to load the code itself from the received SMS so that you do not have to rewrite this code?
When a message arrives, the MessageReceived event is raised and provides the sending number and message.
You might be able to use that to retrieve the pin code you sent.
Try it and let us know if it works for your purposes.
Events
MessageReceived(number,messageText)
Event that’s raised when a text message is received by the phone. Using this block will add dangerous permissions that will require additional approval if your app is submitted to the Google Play Store.
Shows a dialog box with two buttons, from which the user can choose. If cancelable is true there will be an additional CANCEL button. Pressing a button will raise the AfterChoosing event. The “choice” parameter to AfterChoosing will be the text on the button that was pressed, or “Cancel” if the CANCEL button was pressed. If canceled, the TextInputCanceled event will also run.