Which API lets an app read a one-time password SMS without SMS permissions?

  1. TelephonyManager
  2. SmsManager
  3. SMS User Consent / SMS Retriever API
  4. ContactsContract
Answer

C) SMS User Consent / SMS Retriever API

Google Play services APIs retrieve OTP messages without READSMS.

Computer Science MCQ · More Messaging: SMS and Email MCQs · Practise