# Ionic Cordova Plugin read OTP

**URL:** <https://forum.ionicframework.com/t/ionic-cordova-plugin-read-otp/87972>\
**Category:** ionic-v1\
**Created:** [April 26, 2017, 5:33pm UTC](https://forum.ionicframework.com/t/ionic-cordova-plugin-read-otp/87972 "2017-04-26T17:33:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamrks\_dev](https://avatars.discourse-cdn.com/v4/letter/i/34f0e0/32.png) [@iamrks\_dev](https://forum.ionicframework.com/u/iamrks_dev)\
**Post date:** [April 26, 2017, 5:33pm UTC](https://forum.ionicframework.com/t/ionic-cordova-plugin-read-otp/87972/1 "2017-04-26T17:33:02Z")

</div>

Hi All,  
I need to auto detect OTP from SMS. I tried many of the plugin to read but none of them (i.e. cordova-plugin-otp-auto-verification, cordova-plugin-sms) are working.  
Is there any working ionic cordova to read SMS as arrived?

Please help

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [April 26, 2017, 5:48pm UTC](https://forum.ionicframework.com/t/ionic-cordova-plugin-read-otp/87972/2 "2017-04-26T17:48:31Z")

</div>

Did you search the forum? Just today there was another topic about OTP.

---

<div class="post-metadata">

**Author:** ![iamrks\_dev](https://avatars.discourse-cdn.com/v4/letter/i/34f0e0/32.png) [@iamrks\_dev](https://forum.ionicframework.com/u/iamrks_dev)\
**Post date:** [April 27, 2017, 5:03am UTC](https://forum.ionicframework.com/t/ionic-cordova-plugin-read-otp/87972/3 "2017-04-27T05:03:26Z")

</div>

yes, you are right. Do you have any solution?🙂

---

<div class="post-metadata">

**Author:** ![MdShuaib](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@MdShuaib](https://forum.ionicframework.com/u/MdShuaib)\
**Post date:** [April 27, 2017, 7:56am UTC](https://forum.ionicframework.com/t/ionic-cordova-plugin-read-otp/87972/4 "2017-04-27T07:56:51Z")

</div>

@iamrks_dev see this post , you can try this out [About OTP read](https://forum.ionicframework.com/t/ionic-auto-otp-reader/87619/2)  
Thanks

---

<div class="post-metadata">

**Author:** ![sandeepdillerao](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@sandeepdillerao](https://forum.ionicframework.com/u/sandeepdillerao)\
**Post date:** [May 24, 2017, 7:53pm UTC](https://forum.ionicframework.com/t/ionic-cordova-plugin-read-otp/87972/5 "2017-05-24T19:53:05Z")

</div>

@iamrks_dev Yes, use following plugin for auto detect OTP:  
[https://github.com/sandeepdillerao/cordova-plugin-otp-auto-verification](https://github.com/sandeepdillerao/cordova-plugin-otp-auto-verification)

---

<div class="post-metadata">

**Author:** ![raju6567](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/raju6567/32/113022_2.png) [@raju6567](https://forum.ionicframework.com/u/raju6567)\
**Post date:** [November 2, 2017, 8:18pm UTC](https://forum.ionicframework.com/t/ionic-cordova-plugin-read-otp/87972/6 "2017-11-02T20:18:29Z")

</div>

Can anyone suggest me the best working plugin for this which is working for ios and android both? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![bharathirajatut](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@bharathirajatut](https://forum.ionicframework.com/u/bharathirajatut)\
**Post date:** [March 6, 2018, 2:44am UTC](https://forum.ionicframework.com/t/ionic-cordova-plugin-read-otp/87972/7 "2018-03-06T02:44:11Z")

</div>

Hi,  
Use the below link to get OTP autofill.

> **[bharathirajatut/ionic3](https://github.com/bharathirajatut/ionic3/tree/master/SMSOTPVerificationAutomate)**
>
> ionic3 - This repository contains complete source code for Ionic 3 tutorial from https://ampersandacademy.com/tutorials/ionic-framework-3. I will try many Ionic 3 specific scripts and will write t...

It is tested with android physical device and works fine.

---

<div class="post-metadata">

**Author:** ![galaba](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@galaba](https://forum.ionicframework.com/u/galaba)\
**Post date:** [August 9, 2018, 11:20am UTC](https://forum.ionicframework.com/t/ionic-cordova-plugin-read-otp/87972/8 "2018-08-09T11:20:41Z")

</div>

I am facing the problem update the UI once i received the OTP, do you have any solution for that @bharathirajatut

---

<div class="post-metadata">

**Author:** ![bharathirajatut](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@bharathirajatut](https://forum.ionicframework.com/u/bharathirajatut)\
**Post date:** [August 22, 2018, 8:43am UTC](https://forum.ionicframework.com/t/ionic-cordova-plugin-read-otp/87972/9 "2018-08-22T08:43:09Z")

</div>

Please visit the below link

> <https://github.com/bharathirajatut/ionic3/issues/2#issuecomment-414958279>
