Update Standard Notes to 3.195.1 (3003109)

This commit is contained in:
F-Droid checkupdates bot 2024-09-15 08:22:11 +00:00
parent 85a79b71d2
commit e5ce199ee4

View file

@ -369,10 +369,73 @@ Builds:
- .yarn/
ndk: r23b
- versionName: 3.195.1
versionCode: 3003109
commit: '@standardnotes/mobile@3.195.1'
subdir: packages/mobile/android/app
sudo:
- apt-get update
- apt-get install -y libsecret-1-dev make g++ libc-dev jq npm bzip2
- npm install -g yarn
- sysctl fs.inotify.max_user_watches=524288 || true
- echo "deb https://deb.debian.org/debian bullseye main" > /etc/apt/sources.list.d/bullseye.list
- apt-get update
- apt-get install -y -t bullseye openjdk-11-jdk-headless
- update-java-alternatives --set java-1.11.0-openjdk-amd64
init:
- cd ../../../..
- yarn config set -H enableImmutableInstalls false
- tmpfile=$(mktemp) && cp packages/mobile/package.json "$tmpfile" && jq -r 'del
(.devDependencies["react-native-iap"]) | del (.dependencies["react-native-store-review"])'
"$tmpfile" > packages/mobile/package.json && rm "$tmpfile"
- npm_config_build_from_source=true yarn
patch:
- remove-IAP.3.146.2.patch
- disable-gms-u2f-support-3.160.17.patch
- remove-react-native-store-review.3.177.5.patch
gradle:
- prod
srclibs:
- meypod-notifee@eeee41593e4e183e967eac4e99f9bcf5bedb8d57
rm:
- packages/mobile/ios
prebuild:
- sed -i -e '/detox/Id' -e 's/versionName appVersionName/versionName "$$VERSION$$"/'
-e 's/versionCode appVersionCode/versionCode $$VERCODE$$/' -e '/universalApk/s/false/true/'
build.gradle
- pushd ../../node_modules/react-native-fingerprint-scanner/android
- sed -i -e '/FingerprintIdentify/d' build.gradle
- sed -i -e '/getFingerprintIdentify() {/,/^ }/d' -e '/resumeIdentify/,/^ }/c}'
-e '/legacyGetErrorMessage() {/,/^ }/d' -e 's/legacyGetErrorMessage()/"LegacyAndroid"/g'
-e '/FingerprintIdentify/Id' src/main/java/com/hieuvp/fingerprint/ReactNativeFingerprintScannerModule.java
- popd
- sed -E -i 's/^.*(fabric|com\.(crashlytics|google\.(firebase|android.gms))).*$//g'
../../node_modules/@notifee/react-native/android/build.gradle
- echo 'include(":notifee_core")' >> ../settings.gradle
- echo 'project(":notifee_core").projectDir = file("$$meypod-notifee$$/android")'
>> ../settings.gradle
- cd ../../../..
- yarn run build:mobile
- cd packages/mobile
- yarn run android:bundle
scanignore:
- packages/mobile/node_modules/jsc-android
- packages/mobile/node_modules/react-native
- packages/mobile/node_modules/@notifee/react-native/android/build.gradle
- packages/mobile/node_modules/detox/android/build.gradle
- packages/mobile/node_modules/@standardnotes/react-native-utils/android/build.gradle
- packages/mobile/node_modules/@react-native-async-storage/async-storage/android/build.gradle
scandelete:
- node_modules/
- packages/mobile/node_modules
- packages/desktop
- .yarn/
ndk: r23b
AutoUpdateMode: Version @standardnotes/mobile@%v
UpdateCheckMode: HTTP
VercodeOperation:
- 3002000 + %c
UpdateCheckData: https://api.github.com/repos/standardnotes/app/actions/workflows/mobile.release.prod.yml/runs|"run_number":(\d+)|https://api.github.com/repos/standardnotes/app/releases|@standardnotes/mobile@([\d.]+)
CurrentVersion: 3.195.1
CurrentVersionCode: 3003108
CurrentVersionCode: 3003109