OTP Auto verification in ionic

I have tried the auto verification plugin of cordova. It does not work. I am trying to auto verify the otp. After the sms is received i want to assign the opt value to a textbox and verify it. Any Ideas or suggestions or any sample code will help since am a beginner. Thanks

Hai friend,
may be this is useful to you,

I am using below plugin working perfect with android 4.4 to android 9 version…

How do you use that plugin in ionic 3?
What import should I use after installing that plugin?

You can use this Ionic/Cordova plugin for Auto OTP verification and this will not ask user for SMS read Permissions.

Plugin: https://github.com/hanatharesh2712/ionic-native-sms-retriever-plugin-master