question

njsokalski avatar image
1 Vote"
njsokalski asked RobCaplan edited

Cannot Get Client Secret When Publishing To Google Play

I am attempting to publish my app to Google Play as described at

https://docs.microsoft.com/en-us/xamarin/android/deploy-test/publishing/publishing-to-google-play/?tabs=windows

However, it asks for a Client Secret which I cannot seem to find. Everywhere I looked when registering the app gave a Client ID, but not a Client Secret. Some of my searches gave instructions that used a project type of Web application, but I need it for Android application. Are there any good up to date tutorials on obtaining this information for an Android app, and a more up to date & detailed tutorial on how to do the publishing with Visual Studio 2019? Thanks.

dotnet-xamarin
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, njsokalski. I've reproduced the issue on my side. I am trying to find out the cause of the problem and come back later.

0 Votes 0 ·

According to the OAuth document, the client_secret is not applicable to requests from clients registered as Android, iOS, or Chrome applications. So if we select the "Application Type" to "Android" option, there will be no client_secret.

The Xamarin publishing document has not been updated for a long time, and is not applicable for current publish steps. To publish the Android application, please upload the apk to google play store manaually.

1 Vote 1 ·

0 Answers