title: android smsmanager lib not working with android 12
body: <p>I made a simple app to send SMS with smsManager lib it's working fine with android 10 but when I'm use it on android 12 it's not send just stack into default app<a href="https://i.stack.imgur.com/8MM60.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8MM60.jpg" alt="enter image description here" /></a></p>
  <pre><code>fun sendSMS(context: Context, phoneNumber: String, message: String) {
      try {
          SmsManager.getSmsManagerForSubscriptionId(2).sendTextMessage(phoneNumber,null,message,null,null)
      }catch (e:Exception) {
          Toast.makeText(context,e.message,Toast.LENGTH_SHORT).show()
      }
  }
  </code></pre>
  <p>}</p>