When installing some apps (for example Whatsapp) the user is required to receive a verification code on the phone via SMS.
I have noticed that some apps automatically verify this code as soon as the text message is received by the phone, without the user having to open the SMS message or type the code manually. The app does this without being granted any permissions by the user to access or read their calls and texts.
How is this possible, and is it a privacy or security concern?
<uses-permission android:name="android.permission.RECEIVE_SMS"/>in it's manifest. Therefore it is no magic that it can read the 2FA SMS code. – Robert Aug 23 '19 at 13:59