title: Automatic OTP verification not working in Android
body: <p>I'm implementing automatic OTP verification functionality in my app, for that I refereed <a href="http://swarajsaaj.github.io/posts/reading-sms-automatically-otp-verification-android" rel="nofollow noreferrer">this post</a> but it is not working (i.e My Broadcast receiver's <strong><em>onReceive()</em></strong> never gets called even if OTP received). I'm testing on my Remi-2 (Android 4.4 Kitkat version) device. 
        <strong>I think this is permission issue</strong> <strong>because, if I manually set "Send SMS and Read SMS" permission in my app settings it works perfectly fine</strong>. I also have specified below permissions in my manifest file--</p>
  
  <pre><code> &lt;uses-permission android:name="android.permission.RECEIVE_SMS"
          android:required="true"&gt;
      &lt;/uses-permission&gt;
      &lt;uses-permission android:name="android.permission.READ_SMS"
          android:required="true"/&gt;
      &lt;uses-permission android:name="android.permission.SEND_SMS"
          android:required="true"&gt;
      &lt;/uses-permission&gt;
  </code></pre>
  
  <p>My rest of the code is same as <a href="http://swarajsaaj.github.io/posts/reading-sms-automatically-otp-verification-android" rel="nofollow noreferrer">this post</a>. Any help will really appreciated. Also please let me know if I can provide more information for the same. Thank you</p>