Android Question Play developer api problem

tufanv

Expert
Licensed User
Longtime User
Hello,

My play developer api server running on a vps started to give me 'cannot show from server!!!' error since last week. When I run the local app on my desktop it can authenticate and get inventory info from google play servers, I tried to replace the googleoauthtoken.dat from local pc to remote again to be sure, but the server still gives 'cannot show from server!!!'

Any ideas?
Thanks
 

tufanv

Expert
Licensed User
Longtime User
the error is in this part of the sub :

B4X:
Private Sub Authenticate
#if B4J
    PrepareServer
#End If
    
    Dim link As String = BuildLink("https://accounts.google.com/o/oauth2/v2/auth", _
         CreateMap("client_id": mClientId, _
        "redirect_uri": GetRedirectUri, _
        "response_type": "code", "scope": mScope))
#if B4A
    Dim pi As PhoneIntents
    StartActivity(pi.OpenBrowser(link))
#else if B4i
    Main.App.OpenURL(link)
#else if B4J
    Log("Cannot show from server!!!")
#end if
End Sub
There are all kinds of possible failures. Which step fails? Maybe there is a communication problem.
 
Upvote 0
Top