react-native-otp-verify icon indicating copy to clipboard operation
react-native-otp-verify copied to clipboard

Cannot retrieve SMS on device

Open MichelleLum168 opened this issue 2 years ago • 7 comments

Some devices (e.g. Samsung A32) when updated to the latest firmware have not been able to retrieve the sms. Below are the logs with the error when trying to retrieve the sms.

OtpVerifyModule: Could not start sms listener com.google.android.gms.common.api.ApiException: 17: Device doesn't support the messaging feature at com.google.android.gms.common.api.internal.TaskUtil.setResultOrApiException(com.google.android.gms:play-services-base@@18.0.1:4) at com.google.android.gms.common.api.internal.TaskUtil.setResultOrApiException(com.google.android.gms:play-services-base@@18.0.1:1) at com.google.android.gms.internal.auth-api-phone.zzz.zzb(com.google.android.gms:play-services-auth-api-phone@@17.5.1:1) at com.google.android.gms.internal.auth-api-phone.zzi.zza(com.google.android.gms:play-services-auth-api-phone@@17.5.1:2) at com.google.android.gms.internal.auth-api-phone.zzb.onTransact(com.google.android.gms:play-services-auth-api-phone@@17.5.1:3) at android.os.Binder.execTransactInternal(Binder.java:1321) at android.os.Binder.execTransact(Binder.java:1280)

This is working on many other devices on the latest firmware too.

MichelleLum168 avatar Mar 30 '23 03:03 MichelleLum168

Facing the same issue

vedantgilhotra avatar Mar 30 '23 11:03 vedantgilhotra

I have the same problem, I've recently upgraded to android 13

and I get [Error: 17: Device doesn't support the messaging feature]

khethelogp avatar Mar 30 '23 14:03 khethelogp

Seems to be a general issue, not related to this package. See https://issuetracker.google.com/issues/275036593

EvertV avatar Mar 31 '23 08:03 EvertV

Hi Guys, try this library react-native-sms-receiver to read the received message.

Ranjithramesh67 avatar Mar 31 '23 08:03 Ranjithramesh67

anyone has updates on this maybe ?

samih-dev avatar Jul 27 '23 10:07 samih-dev

seems fixed on version 1.1.6 for me

samih-dev avatar Sep 26 '23 12:09 samih-dev

I still face the issue on version 1.1.6

aarie33 avatar Nov 21 '23 11:11 aarie33