Hello Erel,
I first made the change in the manifest editor:
<data android:scheme="gd.tempomaster_pro" />
That alone has not solved the problem yet. The underscore is obviously not accepted. I deleted the underscore in the entry (of course also in the Google API Console):
<data android:scheme="gd.tempomasterpro" />
I've made the following changes to the GoogleOAuth2.bas file:
#if B4A
'packageName = Application.PackageName
packageName = "gd.tempomasterpro"
Private Sub IsNewOAuth2Intent(Intent As Intent) As Boolean
Return Intent.IsInitialized And Intent <> LastIntent And Intent.Action = Intent.ACTION_VIEW And _
Intent.GetData <> Null And Intent.GetData.StartsWith("gd.tempomasterpro") '(Application.PackageName)
End Sub
That's how it works.
I thank you for your help. She has led me on the right track. B4a would not be half as good without the help of you and the many other users here in the forum. I would have stuck my head in the sand so many times.
Best regards,
Gunnar