Hello @DavidSpecter ,
Welcome to our Microsoft Q&A platform!
Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present
If the app targets Android 12 or higher and contains activities, services, or broadcast receivers that use intent filters, we must explicitly declare the android:exported
attribute for these components. Here is the related doc, you could refer to it: https://developer.android.com/about/versions/12/behavior-changes-12#exported
Please try to add Exported =true
for the MainActivity as below.
[Activity(Label = "@string/app_name", Exported = true, ...)]
public class MainActivity : AppCompatActivity
{
...
}
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.