title: Google SMS Retriever API not retreiving SMS messages
body: <p>I'm trying to use Google's SMS Retriever API for Automatic SMS Verification. I have followed the directions <a href="https://developers.google.com/identity/sms-retriever/overview" rel="noreferrer">here</a> but my app is not receiving any SMS messages. Here is what I've done:</p>
  
  <p>I've added the code in my activity to start the SMS retriever client:</p>
  
  <pre><code>    val client = SmsRetriever.getClient(this)
      val retriever = client.startSmsRetriever()
      retriever.addOnSuccessListener {
          Log.i("loginActivity", "started smsretriever")
      }
  
      retriever.addOnFailureListener {
          //Problem to start listener
      }
  </code></pre>
  
  <p>From the logs, I see this starts successfully. Then I add my broadcast receiver with this onReceive:</p>
  
  <pre><code>override fun onReceive(context: Context, intent: Intent) {
      if (SmsRetriever.SMS_RETRIEVED_ACTION == intent.action) {
          val extras = intent.extras
          val status = extras.get(SmsRetriever.EXTRA_STATUS) as Status
  
          when (status.statusCode) {
              CommonStatusCodes.SUCCESS -&gt; {
  
              }
              CommonStatusCodes.TIMEOUT -&gt; {
  
              }
      }
  }
  </code></pre>
  
  <p>This only triggers when a TIMEOUT event is sent 5 minutes after the SMS retriever client starts. It never triggers for SMS messages.</p>
  
  <p>Finally, I've registered the receiver in the Manifest:</p>
  
  <pre><code>&lt;receiver android:name=".receiver.SMSReceiver" android:exported="true"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="com.google.android.gms.auth.api.phone.SMS_RETRIEVED"/&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  </code></pre>
  
  <p>In terms of the text message, I am sending myself this SMS message: 
  "&lt;#> Your code is: 123456
  verification hash: "</p>
  
  <p>Any idea what I'm doing wrong?</p>