I have recently noticed that when I upgraded to Androids API of 30 or higher, my linking functionality has stopped working. It appears the reasoning is due to Android implementing the need to declare package visibility.
So now, when I try to open the default sms messaging app on my android device using Linking.canOpenURL, nothing happens.
I am assuming adding this package name to my AndroidManifest.xml file will fix this. Looking at the example code from the android documentation, we see the following.
<manifest package="com.example.game">
<queries>
<package android:name="com.example.store" />
<package android:name="com.example.services" />
</queries>
...
</manifest>
I want to be able to open the default sms messaging app on ANY android device. How can I grab the package name of the default sms app for ANY device and include it in my manifest file?