From e79c427d0e0fe733c4c2a833156d4d45eca1a953 Mon Sep 17 00:00:00 2001 From: F-Droid checkupdates bot Date: Sat, 16 Nov 2024 04:12:17 +0000 Subject: [PATCH] Update Swiss Bitcoin Pay to 2.2.1 (388004) --- metadata/ch.swissbitcoinpay.checkout.yml | 284 ++++++++++++++++++++++- srclibs/BitBoxSwiss-gomobile.yml | 2 + srclibs/bitbox-wallet-app.yml | 2 + 3 files changed, 286 insertions(+), 2 deletions(-) create mode 100644 srclibs/BitBoxSwiss-gomobile.yml create mode 100644 srclibs/bitbox-wallet-app.yml diff --git a/metadata/ch.swissbitcoinpay.checkout.yml b/metadata/ch.swissbitcoinpay.checkout.yml index 027c93832f..f78a6929d9 100644 --- a/metadata/ch.swissbitcoinpay.checkout.yml +++ b/metadata/ch.swissbitcoinpay.checkout.yml @@ -1456,6 +1456,286 @@ Builds: gradleprops: - reactNativeArchitectures=x86_64 + - versionName: 2.2.1 + versionCode: 388001 + commit: 9bdb72f76a8ae8bad14e0c8ad1b3b5de305be3a7 + subdir: android/app + sudo: + - sysctl fs.inotify.max_user_watches=524288 || true + - apt-get update + - apt-get install -y make npm gcc libc-dev + - apt-get install -t bookworm-backports -y golang-go + - npm -g install yarn + init: npm install --build-from-source + gradle: + - yes + srclibs: + - go@go1.23.3 + - BitBoxSwiss-gomobile@0cc14f92bb9c1f0672229aababacac30cfa08b97 + - bitbox-wallet-app@9800ab44c997f6ec7f037271275cddfd28faf4b1 + rm: + - android/app/libs/mobileserver.aar + prebuild: + - export COMMIT_REF=$(git rev-parse --short HEAD) + - git -C $$bitbox-wallet-app$$ checkout -f "$(cat libs/BITBOX_BRIDGE_COMMIT)" + - sed -i -e 's/PerCPUArchitecture = .*/PerCPUArchitecture = true/' build.gradle + - cd ../../ + - sed -i -e '/installReferrerVersion/,+12d' node_modules/react-native-device-info/android/build.gradle + - sed -i -e '/media3-exoplayer-ima/d' node_modules/react-native-video/android/build.gradle + - npm remove react-native-vision-camera + - npm run bundle:android + - sdkmanager 'platforms;android-26' + scanignore: + - node_modules/react-native/sdks/hermesc/linux64-bin/hermesc + - node_modules/bcrypt-react-native/android/build.gradle + - node_modules/lottie-react-native/android/build.gradle + - node_modules/@react-native-async-storage/async-storage/android/build.gradle + - node_modules/react-native-bars/android/build.gradle + - node_modules/react-native-biometrics/android/build.gradle + - node_modules/react-native-bootsplash/android/build.gradle + - node_modules/react-native-device-info/android/build.gradle + - node_modules/react-native-encrypted-storage/android/build.gradle + - node_modules/react-native-fast-image/android/build.gradle + - node_modules/react-native-linear-gradient/android/build.gradle + - node_modules/react-native-nfc-manager/android/build.gradle + - node_modules/@react-native-picker/picker/android/build.gradle + - node_modules/react-native/ReactAndroid/publish.gradle + - node_modules/react-native-safe-area-context/android/build.gradle + - node_modules/react-native-securerandom/android/build.gradle + - node_modules/react-native-svg/android/build.gradle + - node_modules/react-native-video/android/build.gradle + - node_modules/react-native-webview/android/build.gradle + scandelete: + - node_modules + build: + - pushd $$go$$/src + - ./make.bash + - popd + - export GOPATH=$$go$$ + - export PATH="$GOPATH/bin:$PATH" + - pushd $$BitBoxSwiss-gomobile$$/cmd/gomobile + - go install . + - popd + - pushd $$bitbox-wallet-app$$/backend/mobileserver + - gomobile init + - gomobile bind -x -a -glflags="-mod=readonly" -ldflags="-s -w" -target "android/arm" + -androidapi 26 . + - popd + - mv $$bitbox-wallet-app$$/backend/mobileserver/mobileserver.aar libs + ndk: 25.1.8937393 + gradleprops: + - reactNativeArchitectures=armeabi-v7a + + - versionName: 2.2.1 + versionCode: 388002 + commit: 9bdb72f76a8ae8bad14e0c8ad1b3b5de305be3a7 + subdir: android/app + sudo: + - sysctl fs.inotify.max_user_watches=524288 || true + - apt-get update + - apt-get install -y make npm gcc libc-dev + - apt-get install -t bookworm-backports -y golang-go + - npm -g install yarn + init: npm install --build-from-source + gradle: + - yes + srclibs: + - go@go1.23.3 + - BitBoxSwiss-gomobile@0cc14f92bb9c1f0672229aababacac30cfa08b97 + - bitbox-wallet-app@9800ab44c997f6ec7f037271275cddfd28faf4b1 + rm: + - android/app/libs/mobileserver.aar + prebuild: + - export COMMIT_REF=$(git rev-parse --short HEAD) + - git -C $$bitbox-wallet-app$$ checkout -f "$(cat libs/BITBOX_BRIDGE_COMMIT)" + - sed -i -e 's/PerCPUArchitecture = .*/PerCPUArchitecture = true/' build.gradle + - cd ../../ + - sed -i -e '/installReferrerVersion/,+12d' node_modules/react-native-device-info/android/build.gradle + - sed -i -e '/media3-exoplayer-ima/d' node_modules/react-native-video/android/build.gradle + - npm remove react-native-vision-camera + - npm run bundle:android + - sdkmanager 'platforms;android-26' + scanignore: + - node_modules/react-native/sdks/hermesc/linux64-bin/hermesc + - node_modules/bcrypt-react-native/android/build.gradle + - node_modules/lottie-react-native/android/build.gradle + - node_modules/@react-native-async-storage/async-storage/android/build.gradle + - node_modules/react-native-bars/android/build.gradle + - node_modules/react-native-biometrics/android/build.gradle + - node_modules/react-native-bootsplash/android/build.gradle + - node_modules/react-native-device-info/android/build.gradle + - node_modules/react-native-encrypted-storage/android/build.gradle + - node_modules/react-native-fast-image/android/build.gradle + - node_modules/react-native-linear-gradient/android/build.gradle + - node_modules/react-native-nfc-manager/android/build.gradle + - node_modules/@react-native-picker/picker/android/build.gradle + - node_modules/react-native/ReactAndroid/publish.gradle + - node_modules/react-native-safe-area-context/android/build.gradle + - node_modules/react-native-securerandom/android/build.gradle + - node_modules/react-native-svg/android/build.gradle + - node_modules/react-native-video/android/build.gradle + - node_modules/react-native-webview/android/build.gradle + scandelete: + - node_modules + build: + - pushd $$go$$/src + - ./make.bash + - popd + - export GOPATH=$$go$$ + - export PATH="$GOPATH/bin:$PATH" + - pushd $$BitBoxSwiss-gomobile$$/cmd/gomobile + - go install . + - popd + - pushd $$bitbox-wallet-app$$/backend/mobileserver + - gomobile init + - gomobile bind -x -a -glflags="-mod=readonly" -ldflags="-s -w" -target "android/386" + -androidapi 26 . + - popd + - mv $$bitbox-wallet-app$$/backend/mobileserver/mobileserver.aar libs + ndk: 25.1.8937393 + gradleprops: + - reactNativeArchitectures=x86 + + - versionName: 2.2.1 + versionCode: 388003 + commit: 9bdb72f76a8ae8bad14e0c8ad1b3b5de305be3a7 + subdir: android/app + sudo: + - sysctl fs.inotify.max_user_watches=524288 || true + - apt-get update + - apt-get install -y make npm gcc libc-dev + - apt-get install -t bookworm-backports -y golang-go + - npm -g install yarn + init: npm install --build-from-source + gradle: + - yes + srclibs: + - go@go1.23.3 + - BitBoxSwiss-gomobile@0cc14f92bb9c1f0672229aababacac30cfa08b97 + - bitbox-wallet-app@9800ab44c997f6ec7f037271275cddfd28faf4b1 + rm: + - android/app/libs/mobileserver.aar + prebuild: + - export COMMIT_REF=$(git rev-parse --short HEAD) + - git -C $$bitbox-wallet-app$$ checkout -f "$(cat libs/BITBOX_BRIDGE_COMMIT)" + - sed -i -e 's/PerCPUArchitecture = .*/PerCPUArchitecture = true/' build.gradle + - cd ../../ + - sed -i -e '/installReferrerVersion/,+12d' node_modules/react-native-device-info/android/build.gradle + - sed -i -e '/media3-exoplayer-ima/d' node_modules/react-native-video/android/build.gradle + - npm remove react-native-vision-camera + - npm run bundle:android + - sdkmanager 'platforms;android-26' + scanignore: + - node_modules/react-native/sdks/hermesc/linux64-bin/hermesc + - node_modules/bcrypt-react-native/android/build.gradle + - node_modules/lottie-react-native/android/build.gradle + - node_modules/@react-native-async-storage/async-storage/android/build.gradle + - node_modules/react-native-bars/android/build.gradle + - node_modules/react-native-biometrics/android/build.gradle + - node_modules/react-native-bootsplash/android/build.gradle + - node_modules/react-native-device-info/android/build.gradle + - node_modules/react-native-encrypted-storage/android/build.gradle + - node_modules/react-native-fast-image/android/build.gradle + - node_modules/react-native-linear-gradient/android/build.gradle + - node_modules/react-native-nfc-manager/android/build.gradle + - node_modules/@react-native-picker/picker/android/build.gradle + - node_modules/react-native/ReactAndroid/publish.gradle + - node_modules/react-native-safe-area-context/android/build.gradle + - node_modules/react-native-securerandom/android/build.gradle + - node_modules/react-native-svg/android/build.gradle + - node_modules/react-native-video/android/build.gradle + - node_modules/react-native-webview/android/build.gradle + scandelete: + - node_modules + build: + - pushd $$go$$/src + - ./make.bash + - popd + - export GOPATH=$$go$$ + - export PATH="$GOPATH/bin:$PATH" + - pushd $$BitBoxSwiss-gomobile$$/cmd/gomobile + - go install . + - popd + - pushd $$bitbox-wallet-app$$/backend/mobileserver + - gomobile init + - gomobile bind -x -a -glflags="-mod=readonly" -ldflags="-s -w" -target "android/arm64" + -androidapi 26 . + - popd + - mv $$bitbox-wallet-app$$/backend/mobileserver/mobileserver.aar libs + ndk: 25.1.8937393 + gradleprops: + - reactNativeArchitectures=arm64-v8a + + - versionName: 2.2.1 + versionCode: 388004 + commit: 9bdb72f76a8ae8bad14e0c8ad1b3b5de305be3a7 + subdir: android/app + sudo: + - sysctl fs.inotify.max_user_watches=524288 || true + - apt-get update + - apt-get install -y make npm gcc libc-dev + - apt-get install -t bookworm-backports -y golang-go + - npm -g install yarn + init: npm install --build-from-source + gradle: + - yes + srclibs: + - go@go1.23.3 + - BitBoxSwiss-gomobile@0cc14f92bb9c1f0672229aababacac30cfa08b97 + - bitbox-wallet-app@9800ab44c997f6ec7f037271275cddfd28faf4b1 + rm: + - android/app/libs/mobileserver.aar + prebuild: + - export COMMIT_REF=$(git rev-parse --short HEAD) + - git -C $$bitbox-wallet-app$$ checkout -f "$(cat libs/BITBOX_BRIDGE_COMMIT)" + - sed -i -e 's/PerCPUArchitecture = .*/PerCPUArchitecture = true/' build.gradle + - cd ../../ + - sed -i -e '/installReferrerVersion/,+12d' node_modules/react-native-device-info/android/build.gradle + - sed -i -e '/media3-exoplayer-ima/d' node_modules/react-native-video/android/build.gradle + - npm remove react-native-vision-camera + - npm run bundle:android + - sdkmanager 'platforms;android-26' + scanignore: + - node_modules/react-native/sdks/hermesc/linux64-bin/hermesc + - node_modules/bcrypt-react-native/android/build.gradle + - node_modules/lottie-react-native/android/build.gradle + - node_modules/@react-native-async-storage/async-storage/android/build.gradle + - node_modules/react-native-bars/android/build.gradle + - node_modules/react-native-biometrics/android/build.gradle + - node_modules/react-native-bootsplash/android/build.gradle + - node_modules/react-native-device-info/android/build.gradle + - node_modules/react-native-encrypted-storage/android/build.gradle + - node_modules/react-native-fast-image/android/build.gradle + - node_modules/react-native-linear-gradient/android/build.gradle + - node_modules/react-native-nfc-manager/android/build.gradle + - node_modules/@react-native-picker/picker/android/build.gradle + - node_modules/react-native/ReactAndroid/publish.gradle + - node_modules/react-native-safe-area-context/android/build.gradle + - node_modules/react-native-securerandom/android/build.gradle + - node_modules/react-native-svg/android/build.gradle + - node_modules/react-native-video/android/build.gradle + - node_modules/react-native-webview/android/build.gradle + scandelete: + - node_modules + build: + - pushd $$go$$/src + - ./make.bash + - popd + - export GOPATH=$$go$$ + - export PATH="$GOPATH/bin:$PATH" + - pushd $$BitBoxSwiss-gomobile$$/cmd/gomobile + - go install . + - popd + - pushd $$bitbox-wallet-app$$/backend/mobileserver + - gomobile init + - gomobile bind -x -a -glflags="-mod=readonly" -ldflags="-s -w" -target "android/amd64" + -androidapi 26 . + - popd + - mv $$bitbox-wallet-app$$/backend/mobileserver/mobileserver.aar libs + ndk: 25.1.8937393 + gradleprops: + - reactNativeArchitectures=x86_64 + AutoUpdateMode: Version UpdateCheckMode: Tags VercodeOperation: @@ -1464,5 +1744,5 @@ VercodeOperation: - 1000 * %c + 3 - 1000 * %c + 4 UpdateCheckData: .env|APP_BUILD_NUMBER=(\d+)|.|APP_VERSION=(.+) -CurrentVersion: 2.1.4 -CurrentVersionCode: 386004 +CurrentVersion: 2.2.1 +CurrentVersionCode: 388004 diff --git a/srclibs/BitBoxSwiss-gomobile.yml b/srclibs/BitBoxSwiss-gomobile.yml new file mode 100644 index 0000000000..cc9d484845 --- /dev/null +++ b/srclibs/BitBoxSwiss-gomobile.yml @@ -0,0 +1,2 @@ +RepoType: git +Repo: https://github.com/BitBoxSwiss/mobile.git diff --git a/srclibs/bitbox-wallet-app.yml b/srclibs/bitbox-wallet-app.yml new file mode 100644 index 0000000000..10850a3bfd --- /dev/null +++ b/srclibs/bitbox-wallet-app.yml @@ -0,0 +1,2 @@ +RepoType: git +Repo: https://github.com/SwissBitcoinPay/bitbox-wallet-app