I have an app that works fine. My TargetSdkVersion was 19, but I had to update to 29 to upload to google play.
I thought I solved all the permission problems but apparently one is missing.
My code for bluetooth connection:
Sub conectar_Click
conectar.Bitmap=LoadBitmap(File.DirAssets,"conectaramarillo.png")
foundDevices.Initialize
If admin.StartDiscovery = False Then
ToastMessageShow("Error starting discovery process.", True)
Else
ProgressDialogShow("Buscando...")
End If
End Sub
With TargetSdkVersion 19 admin.StartDiscovery is True and everything works fine, but with Target SdkVersion29 it is False and I can't get to the connection.
What am I missing and how do I solve it?
Thanks.