title: Send text message to WhatsApp and SMS using intent create chooser not working anymore
body: <p>The code below used to work a week ago. It's purpose is to allow the user to choose if he want to send a text message using WhatsApp or SMS, but now when I choose WhatsApp it doesn't do anything, although SMS keeps working. </p>
  
  <p>Looking at the logcat it's printing: <code>2018-10-25 18:28:28.915 2147-6714/? I/ActivityManager: START u0 {act=android.intent.action.SENDTO dat=smsto:xxxxxxxxxxx flg=0x3000000 cmp=com.whatsapp/.Conversation (has extras)} from uid 10096</code> Even passing a valid number with country code, it is printing <code>smsto:xxxxxxxxxxx</code>.</p>
  
  <p>Is there any working code for this purpose or know about this problem?</p>
  
  <pre><code>fun sendMessageToNumber(number: String, text: String) {
      val cleanNumber = number.cleanText()
      val uri = Uri.parse("smsto:$cleanNumber")
      val sendIntent = Intent(Intent.ACTION_SENDTO, uri)
      sendIntent.putExtra("sms_body", text)
      context?.startActivity(Intent.createChooser(sendIntent, context.getString(R.string.fragment_account_chooser_message_title)))
    }
  </code></pre>