diff --git a/store/google/Publisher/Program.cs b/store/google/Publisher/Program.cs index 98d59b5a5..b48b74674 100644 --- a/store/google/Publisher/Program.cs +++ b/store/google/Publisher/Program.cs @@ -1,5 +1,5 @@ -using Google.Apis.AndroidPublisher.v2; -using Google.Apis.AndroidPublisher.v2.Data; +using Google.Apis.AndroidPublisher.v3; +using Google.Apis.AndroidPublisher.v3.Data; using Google.Apis.Auth.OAuth2; using Google.Apis.Services; using System; @@ -104,7 +104,10 @@ namespace Bit.Publisher var trackRequest = service.Edits.Tracks.Update(new Track { - VersionCodes = new List { apk.VersionCode } + Releases = new List + { + new TrackRelease { VersionCodes = new List { apk.VersionCode } } + } }, Package, edit.Id, _track); var updatedTrack = await trackRequest.ExecuteAsync(); diff --git a/store/google/Publisher/Publisher.csproj b/store/google/Publisher/Publisher.csproj index a58f02fc7..cfe8c8a78 100644 --- a/store/google/Publisher/Publisher.csproj +++ b/store/google/Publisher/Publisher.csproj @@ -8,7 +8,7 @@ - +