Questions tagged [sms-retriever-api]

53 questions
1
vote
0 answers

What should be the format of sender's phone number to be passed to SMS User Consent API?

As per the docs: https://developers.google.com/identity/sms-retriever/user-consent/request we can specify a sender phone number from which we know the SMS message will originate. But it isn't mentioned which phone number format to be followed. How…
Shrimantee Roy
  • 317
  • 3
  • 10
1
vote
0 answers

Why should the call to AppSignatureHelper class be removed from the app after we get the hash string?

The following document : https://developers.google.com/identity/sms-retriever/verify states that for computing App's hash string we can use AppSignatureHelper class from the SMS retriever sample app. It adds , "However, if you use the helper class,…
Shrimantee Roy
  • 317
  • 3
  • 10
1
vote
1 answer

How to handle error situations when Broadcast is not triggered due to unfulfilled message criteria in case of SMS User Consent API?

In the following docs: https://developers.google.com/identity/sms-retriever/user-consent/request it is stated a message triggers the broadcast only if it meets these criteria: The message contains a 4-10 character alphanumeric string with at least…
1
vote
1 answer

SMS Retriever api is not working in release and play store build

I worked on sms retriever API and it worked successfully on debug mode but not in signed build and playstore app the sms retriever api was not picking up the code automatically. I tried different techniques to generate the 11 digit code for…
0
votes
0 answers

Issue with Google SMS Retriever API (SMS_RETRIEVED_ACTION status code always TIMEOUT)

I try to receive code from the message and put it into EditText. I created SmsBroadcastReceiver The I register my BroadcastReceiver: val client = SmsRetriever.getClient(context) val task = client.startSmsRetriever() …
0
votes
0 answers

SMS Retrieve API : Broadcast receiver not detect incoming OTP

I am trying to detect one-time password through SMS Retrieve API, followed all steps correctly as per docs, but my broadcast receiver not detecting OTP. My SMSBroadcastReceiver class SMSBroadcastReceiver : BroadcastReceiver() { private var…
0
votes
0 answers

Internal storage and SMS reading is not working properly

Through this app I assign task to my workers via SMS. Read the received SMS and save in to SQLite DB and display them in the app. So, the issue is some SMS is not reading by the App. If I sent 2 SMS within 1 min gap, only one SMS will read and…
0
votes
0 answers

How to get sms sender id/number android

I am using SMS Retriever API for auto fill OTP. As I want to show up auto otp dialog for particular sender id only.But I am stuck at capturing sender's id/number. Can someone help me to get that? Thank you in advance.
sanil
  • 482
  • 1
  • 7
  • 23
0
votes
1 answer

Android SMS based user verification generic flow

I have a few different Android apps which use Android SMS Retriever API, to perform SMS-based user verification. I am wondering if there is a consistent way to authenticate user via SMS and not implement it with every app I am creating. I was…
0
votes
1 answer

Kotlin - Autofill SMS without READ_SMS permission

I need to do a feature to read the OTP from SMS and fill my field. The only way today to do it is using SMS Retriever API from Google? Nothing without a 3rd party lib? I mean, Apple has it native. We are avoiding using Retriever API because we don't…
LMaker
  • 1,444
  • 3
  • 25
  • 38
0
votes
1 answer

How to get user phone number by hint request

I am working on Ionic 5 POC to get the user phone number. Can someone help me to implement "Obtain the user's phone number" in the angular code? Reference: link here I tried to find Cordova / capacitor plugin but there is no plugin found that help…
0
votes
0 answers

How to do a line break on a twilio SMS using Node.js

I'm trying to send a SMS message for the android SMS Retriever API which has to be in this format: <#> Your Example app code is: 123ABC78 /f8Escobih1Z But the line break after the code doesn't seem to work. Here is my code: await twilio.messages …
router360
  • 21
  • 1
  • 4
0
votes
1 answer

Using GoogleApiClient to implement Automatic SMS Verification Android

Am trying to use GoogleApiClient to implement Automatic SMS Verification Android in a fragment. Am following the official documentation here Automatic SMS Verification with the SMS Retriever API Am stuck in this part Obtaining user phone…
0
votes
1 answer

Are there any examples that can help me with flutter sms retriever api plugin?

Are there any examples that can help me with flutter sms retriever api plugin, i really need an example of how of how to implement it because my app was rejected in playstore due to sms permissions & they advised to use sms retriever api plugin?
0
votes
1 answer

Should SMS Retriever API show message in Messages app?

I have implemented SMS Retriever on Xamarin Android based on examples such as this and this. Everything works fine as expected EXCEPT the message I am assuming to be intercepted by BroadcastReceiver class (see below) also shows up in the Messages…
user2921851
  • 990
  • 12
  • 26