android-credentials icon indicating copy to clipboard operation
android-credentials copied to clipboard

BroadCastReceiver not getting fired

Open ankitPagalGuy opened this issue 9 years ago • 7 comments

By using AppSignature class I got hash key IV2kdanxlm6 , SMS content is Your unique Prepathon verification code is 7357. Happy Learning, Team Prepathon. IV2kdanxlm6 Still BroadCastReceiver is not getting fired . I have followed all the steps as shown here https://android-developers.googleblog.com/2017/10/effective-phone-number-verification.html . Am I doing anything wrong ?

ankitPagalGuy avatar Nov 05 '17 15:11 ankitPagalGuy

Does the message also start with <#>?

ithinkihaveacat avatar Nov 05 '17 16:11 ithinkihaveacat

Two consecutive zero-width space characters (U+200B) , as mentioned in docs, I am using this , it should work ?

ankitPagalGuy avatar Nov 05 '17 17:11 ankitPagalGuy

worked with <#>

ankitPagalGuy avatar Nov 07 '17 13:11 ankitPagalGuy

Glad that worked, thanks for confirming! The zero-width characters should also work, but they seem vulnerable to getting dropped along the way.

ithinkihaveacat avatar Nov 07 '17 14:11 ithinkihaveacat

@ithinkihaveacat , I have another issue https://github.com/googlesamples/android-credentials/issues/21 , please look into this

ankitPagalGuy avatar Nov 07 '17 14:11 ankitPagalGuy

@ankitPagalGuy @ithinkihaveacat @keyboardsurfer Sms is not getting broadcasted , when i manually broadcast the intent from adb and its receiving in broadcast receiver. Sms is :

<#> Your Verification Code is 030787. This OTP will s. NKsG/pQa+dw

Need urgent help here.

sumeet-chaayos avatar Feb 22 '19 07:02 sumeet-chaayos

hey @sumeet-chaayos I am facing the exact problem like you. if you find the solution please share it with me .

vivekpanchal avatar Aug 29 '19 17:08 vivekpanchal