I am using UserConsentAPI for reading SMS in Android App, In that there is a method
startSmsUserConsent()
In this method we need to pass sender Number/Name, For example my sender name is ViCARE, I received VT-ViCARE, BT-ViCARE, AD-ViCare like that each time.First two character of sender name is dynamically changed. If I give below like that reading particular sms from "VT-ViCARE" it works fine, How to read the sender contain "??-ViCARE" using User Consent API?
smsRetrieverClient.startSmsUserConsent("VT-ViCARE")
from SmsUserConsentAPI to read sender name with first two letter dynamic
No comments:
Post a Comment