Fix the build pipeline for iOS and Android

Use the latest version of gomobile instead of the fork of protonmail.
Use go get gomobile in the build script instead of adding it to the
go.mod by default.
Fix the script to work with latest gomobile
This commit is contained in:
M. Thiercelin 2023-03-03 15:27:37 +01:00
parent b4736c8cd3
commit 10f6e3fa07
No known key found for this signature in database
GPG key ID: 29581E7E24EBEC0A
4 changed files with 42 additions and 111 deletions

5
go.mod
View file

@ -9,7 +9,6 @@ require (
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.7.0
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
golang.org/x/mobile v0.0.0-20221110043201-43a038452099 // indirect
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
golang.org/x/text v0.3.7 // indirect
)
replace golang.org/x/mobile => github.com/ProtonMail/go-mobile v0.0.0-20210326110230-f181c70e4e2b