Android smsManager.sendTextMessage throwing exception 'Own package not found: package=com.android.phone'

Viewed 69

I am using SmsManager to send text message from user's device, but some users are not able to send message from my app. Looks like most of the affected users on Android 11. Does this mean user has deleted the default phone app from their device or will adding below in Manifest file

<queries>
    <package android:name="com.android.phone"/>
</queries>

will resolve this issue?

0 Answers
Related