bitcointribe icon indicating copy to clipboard operation
bitcointribe copied to clipboard

How can I verify the app on Google Play was built from this source code?

Open Giszmo opened this issue 4 years ago • 12 comments

I tried to rebuild the app from Google Play but failed to do so. My write-up as it also can be found on WalletScrutiny:

So it's "Non Custodial Bitcoin Wallet". There is also a link to their Github and while not equipped with a FOSS license, it is public source code of a wallet.

So the build instructions looked lacking from the start as there is no word about building the apk but only about running the app, we tried it nevertheless:

$ git clone https://github.com/bithyve/hexa
$ cd hexa/
$ git checkout v1.4.1
$ docker run --rm -v$PWD:/mnt --workdir=/mnt -it walletscrutiny/android bash
root@af2c99dc5b57:/mnt# apt update
root@af2c99dc5b57:/mnt# apt install curl npm rubygems -y
root@af2c99dc5b57:/mnt# curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
root@af2c99dc5b57:/mnt# echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
root@af2c99dc5b57:/mnt# apt update
root@af2c99dc5b57:/mnt# apt install yarn -y
root@af2c99dc5b57:/mnt# npm install npm@latest -g
root@af2c99dc5b57:/mnt# npm install -g rn-nodeify
root@af2c99dc5b57:/mnt# gem install cocoapods
...
Building native extensions. This could take a while...
ERROR:  Error installing cocoapods:
	ERROR: Failed to build gem native extension.
...
root@7a3a4f43290e:/mnt# yarn install
...
patch cocoapods
./setup.sh: 14: pod: not found
Done in 132.25s.

and as the above is only the good guesses out of 35 commands typed so far, this is where we give up and consider the app not verifiable due to lacking build instructions.

Giszmo avatar Jan 21 '21 05:01 Giszmo