mirror of
https://github.com/bitwarden/mobile
synced 2024-12-27 09:15:54 +01:00
upgrade to v3 publisher apis
This commit is contained in:
parent
f9b617339d
commit
96ce8165e9
@ -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<int?> { apk.VersionCode }
|
||||
Releases = new List<TrackRelease>
|
||||
{
|
||||
new TrackRelease { VersionCodes = new List<long?> { apk.VersionCode } }
|
||||
}
|
||||
}, Package, edit.Id, _track);
|
||||
|
||||
var updatedTrack = await trackRequest.ExecuteAsync();
|
||||
|
@ -8,7 +8,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Google.Apis.AndroidPublisher.v2" Version="1.41.1.1748" />
|
||||
<PackageReference Include="Google.Apis.AndroidPublisher.v3" Version="1.42.0.1766" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user