I have found a solution but don't understand all the intricacies so not sure why the change. I have always used
Dim DBFileDir = File.DirDefaultExternal As String
to define my device db directory. On sdk version 34 I now have to use
Dim DBFileDir = File.DirInternal As String
but this doesn't work on previous versions so I have added this code
If phone.SdkVersion > 33 Then
Dim DBFileDir = File.DirInternal As String
Else
Dim DBFileDir = File.DirDefaultExternal As String
End If
Could this issue be device specific or the change in the TargetSdkVersion?
Please let me know if I should be using a different method or you see any issues with this approach.