I have been using this code in a service to initiate the uninstall of our setup app for many years.
The devices we use have been upgraded from Android 7 to Android 11.
This code doesn't initiate the uninstall anymore.
I've stripped the code to the bare essential to demonstrate the problem but there is other code that checks if an uninstall should be initiated etc.
Please recommend how one can initiate an app's uninstall on Android 11.
The devices we use have been upgraded from Android 7 to Android 11.
This code doesn't initiate the uninstall anymore.
I've stripped the code to the bare essential to demonstrate the problem but there is other code that checks if an uninstall should be initiated etc.
B4X:
Sub Service_Start (StartingIntent As Intent)
Dim In As Intent
In.Initialize("android.intent.action.DELETE", "package:biometrics.setup")
StartActivity(In)
End Sub
Please recommend how one can initiate an app's uninstall on Android 11.