Recently we decided to start using SMS Retriever API to read OTP. I followed all steps and it's working correctly.
The problem is BroadcastReceiver
is getting callback after a long delay. SMS notification is pushed by system as soon as SMS is actually received. But, receiver will get it after almost a minute.
Tested on Samsung J3 emerge. Android 6.0.1, PlayServices 14.5.81.
Did anyone faced this issue? Is there receiver priority issue or any other limitation of the API?