#Publishing an Expo App for Android
- Make sure you have the pc-api-*.json for the Google Service Account
- Increment "versionCode" in app.json
- Run eas build --platform android
- Run eas submit --platform android
#!/bin/bash | |
# Script to bump expo.js version code | |
# get current versions | |
currentVersion=`cat app.json|jq '.[] | .android | .versionCode'` | |
# show current versions | |
echo "The current version is: $currentVersion" | |
# get new version from user input |
#!/bin/sh | |
# simple bash script to update the build number to whatever is entered. | |
appname="yourname" | |
# variables | |
pbxproj="ios/$appname.xcodeproj/project.pbxproj"; | |
gradle='android/app/build.gradle'; | |
# get current versions | |
androidVersion=`cat $gradle |grep -m1 "versionName" | cut -d'"' -f2 | tr -d ';' | tr -d ' '` |
#Publishing an Expo App for Android
On Mac install these via terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install jq
#/bin/sh | |
# Set the permission of the proposing account | |
ACCOUNTPERM="quantumblok@active" | |
# Get user input | |
echo "You may need to set your account permission first - check the contents of this script" | |
echo "" | |
read -p "Enter the name of the proposal: " NAME | |
read -p "Enter the name of the account to pay: " PAYEE |
bos rebalance --amount 5000000 --out SatBase.org --in lnd-37 --avoid 0309bd6a02c71f288977b15ec3ac7283cfdd3d17dde65732981d5a718aa5fb0ebc --avoid 0260fab633066ed7b1d9b9b8a0fac87e1579d1709e874d28a0d171a1f5c43bb877 --max-fee-rate 700 | |
outgoing_peer_to_increase_inbound: SatBase.org 02bcc7d378263af7a5dca103f16f5c94ffdfb63c161433764973904f50688a9071 | |
incoming_peer_to_decrease_inbound: LNBIG.com [lnd-37] 022c260f9ad58196af280c80a96ec9eabf6404df59ff1a7553b0f381c875a29ba0 | |
rebalance_target_amount: 0.05000000 | |
circular_rebalance_for: Libre [fire] 03e036c7da199f4dd1f2ea0eaedf2ba6142850553671cdc7d502ec382173ba9396 | |
evaluating: | |
- 690670x884x1 ★ ★ ★ ☆ |
Creating an account on Proton requires 3 actions that must be bundled together:
[Unit] | |
Description=Bitcoin Go daemon | |
After=network.target | |
[Service] | |
User=<username> | |
Group=<username> | |
PIDFile=/home/<username>/.btcd/btcd.pid | |
ExecStart=/home/<username>/go/bin/btcd | |
KillMode=process |
# install go | |
sudo snap install --classic go | |
mkdir ~/go | |
echo “export GOPATH=$HOME/go” >> .bashrc | |
echo “export PATH=$PATH:$GOROOT/bin:$GOPATH/bin” >> .bashrc | |
source .bashrc | |
# install btcd | |
cd $GOPATH/pkg/mod/github.com/btcsuite/btcd | |
GO111MODULE=on go install -v . ./cmd/... |
# simple script to check the bitcoin sync level of your btcd node | |
echo `btcctl -s localhost:8337 getbestblock|jq -r -c .height`/`curl -s https://blockchain.info/q/getblockcount 2>/dev/null`*100|bc -l |