Update Notesnook to 3.0.21 (15159)

This commit is contained in:
F-Droid checkupdates bot 2024-11-20 04:46:55 +00:00 committed by linsui
parent d3006a6fe5
commit a9a9904a72

View file

@ -9407,6 +9407,318 @@ Builds:
- reactNativeArchitectures=x86_64
- fdroidBuild=true
- versionName: 3.0.21
versionCode: 15156
commit: 86bf8f68bfba7fc38b73df9c53b01a9308b0058f
subdir: apps/mobile/native/android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288 || true
- apt-get update
- apt-get install -y --no-install-recommends g++ build-essential
- curl -Lo node.tar.gz https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.gz
- echo "bf3a779bef19452da90fb88358ec2c57e0d2f882839b20dc6afc297b6aafc0d7 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
init:
- cd ../../../../..
- npm ci --ignore-scripts --prefer-offline --no-audit
- npm run bootstrap -- --scope=mobile
- npx nx run @notesnook/mobile:build
gradle:
- yes
rm:
- extensions
- apps/desktop
- apps/web
- packages/clipper
prebuild:
- sed -i -e 's|<uses-permission android:name="com.android.vending.BILLING" />||g'
./src/main/AndroidManifest.xml
- cd ../../
- echo GITHUB_RELEASE=true > .env
- sed -i -e 's|false|true|g' react-native.config.js
- sed -i -e '/installReferrerVersion/,+11d' ../node_modules/react-native-device-info/android/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
scanignore:
- apps/mobile/native/android/build.gradle
- apps/mobile/node_modules/@ammarahmed/react-native-share-extension/android/build.gradle
- apps/mobile/node_modules/@bam.tech/react-native-image-resizer/android/build.gradle
- apps/mobile/node_modules/jsc-android
- apps/mobile/node_modules/react-native/*
- apps/mobile/node_modules/react-native-actions-shortcuts/android/build.gradle
- apps/mobile/node_modules/react-native-blob-util/android/build.gradle
- apps/mobile/node_modules/react-native-bootsplash/android/build.gradle
- apps/mobile/node_modules/@react-native-community/netinfo/android/build.gradle
- apps/mobile/node_modules/react-native-device-info/android/build.gradle
- apps/mobile/node_modules/react-native-document-picker/android/build.gradle
- apps/mobile/node_modules/react-native-get-random-values/android/build.gradle
- apps/mobile/node_modules/react-native-gzip/android/build.gradle
- apps/mobile/node_modules/react-native-keychain/android/build.gradle
- apps/mobile/node_modules/@react-native-masked-view/masked-view/android/build.gradle
- apps/mobile/node_modules/react-native-reanimated/android/build.gradle
- apps/mobile/node_modules/react-native-safe-area-context/android/build.gradle
- apps/mobile/node_modules/react-native-screens/android/build.gradle
- apps/mobile/node_modules/react-native-securerandom/android/build.gradle
- apps/mobile/node_modules/react-native-share/android/build.gradle
- apps/mobile/node_modules/react-native-svg/android/build.gradle
- apps/mobile/node_modules/react-native-vector-icons/android/build.gradle
- apps/mobile/node_modules/react-native-webview/android/build.gradle
- apps/mobile/node_modules/@sayem314/react-native-keep-awake/android/build.gradle
scandelete:
- .nx/cache
- apps/mobile/node_modules
- node_modules
- packages
- servers/themes/node_modules
build:
- rm -rf ../../../node_modules/react-native-mmkv-storage/android/react-native*
- gradle clean
ndk: r23c
gradleprops:
- buildUniversalApk=false
- reactNativeArchitectures=armeabi-v7a
- fdroidBuild=true
- versionName: 3.0.21
versionCode: 15157
commit: 86bf8f68bfba7fc38b73df9c53b01a9308b0058f
subdir: apps/mobile/native/android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288 || true
- apt-get update
- apt-get install -y --no-install-recommends g++ build-essential
- curl -Lo node.tar.gz https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.gz
- echo "bf3a779bef19452da90fb88358ec2c57e0d2f882839b20dc6afc297b6aafc0d7 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
init:
- cd ../../../../..
- npm ci --ignore-scripts --prefer-offline --no-audit
- npm run bootstrap -- --scope=mobile
- npx nx run @notesnook/mobile:build
gradle:
- yes
rm:
- extensions
- apps/desktop
- apps/web
- packages/clipper
prebuild:
- sed -i -e 's|<uses-permission android:name="com.android.vending.BILLING" />||g'
./src/main/AndroidManifest.xml
- cd ../../
- echo GITHUB_RELEASE=true > .env
- sed -i -e 's|false|true|g' react-native.config.js
- sed -i -e '/installReferrerVersion/,+11d' ../node_modules/react-native-device-info/android/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
scanignore:
- apps/mobile/native/android/build.gradle
- apps/mobile/node_modules/@ammarahmed/react-native-share-extension/android/build.gradle
- apps/mobile/node_modules/@bam.tech/react-native-image-resizer/android/build.gradle
- apps/mobile/node_modules/jsc-android
- apps/mobile/node_modules/react-native/*
- apps/mobile/node_modules/react-native-actions-shortcuts/android/build.gradle
- apps/mobile/node_modules/react-native-blob-util/android/build.gradle
- apps/mobile/node_modules/react-native-bootsplash/android/build.gradle
- apps/mobile/node_modules/@react-native-community/netinfo/android/build.gradle
- apps/mobile/node_modules/react-native-device-info/android/build.gradle
- apps/mobile/node_modules/react-native-document-picker/android/build.gradle
- apps/mobile/node_modules/react-native-get-random-values/android/build.gradle
- apps/mobile/node_modules/react-native-gzip/android/build.gradle
- apps/mobile/node_modules/react-native-keychain/android/build.gradle
- apps/mobile/node_modules/@react-native-masked-view/masked-view/android/build.gradle
- apps/mobile/node_modules/react-native-reanimated/android/build.gradle
- apps/mobile/node_modules/react-native-safe-area-context/android/build.gradle
- apps/mobile/node_modules/react-native-screens/android/build.gradle
- apps/mobile/node_modules/react-native-securerandom/android/build.gradle
- apps/mobile/node_modules/react-native-share/android/build.gradle
- apps/mobile/node_modules/react-native-svg/android/build.gradle
- apps/mobile/node_modules/react-native-vector-icons/android/build.gradle
- apps/mobile/node_modules/react-native-webview/android/build.gradle
- apps/mobile/node_modules/@sayem314/react-native-keep-awake/android/build.gradle
scandelete:
- .nx/cache
- apps/mobile/node_modules
- node_modules
- packages
- servers/themes/node_modules
build:
- rm -rf ../../../node_modules/react-native-mmkv-storage/android/react-native*
- gradle clean
ndk: r23c
gradleprops:
- buildUniversalApk=false
- reactNativeArchitectures=x86
- fdroidBuild=true
- versionName: 3.0.21
versionCode: 15158
commit: 86bf8f68bfba7fc38b73df9c53b01a9308b0058f
subdir: apps/mobile/native/android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288 || true
- apt-get update
- apt-get install -y --no-install-recommends g++ build-essential
- curl -Lo node.tar.gz https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.gz
- echo "bf3a779bef19452da90fb88358ec2c57e0d2f882839b20dc6afc297b6aafc0d7 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
init:
- cd ../../../../..
- npm ci --ignore-scripts --prefer-offline --no-audit
- npm run bootstrap -- --scope=mobile
- npx nx run @notesnook/mobile:build
gradle:
- yes
rm:
- extensions
- apps/desktop
- apps/web
- packages/clipper
prebuild:
- sed -i -e 's|<uses-permission android:name="com.android.vending.BILLING" />||g'
./src/main/AndroidManifest.xml
- cd ../../
- echo GITHUB_RELEASE=true > .env
- sed -i -e 's|false|true|g' react-native.config.js
- sed -i -e '/installReferrerVersion/,+11d' ../node_modules/react-native-device-info/android/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
scanignore:
- apps/mobile/native/android/build.gradle
- apps/mobile/node_modules/@ammarahmed/react-native-share-extension/android/build.gradle
- apps/mobile/node_modules/@bam.tech/react-native-image-resizer/android/build.gradle
- apps/mobile/node_modules/jsc-android
- apps/mobile/node_modules/react-native/*
- apps/mobile/node_modules/react-native-actions-shortcuts/android/build.gradle
- apps/mobile/node_modules/react-native-blob-util/android/build.gradle
- apps/mobile/node_modules/react-native-bootsplash/android/build.gradle
- apps/mobile/node_modules/@react-native-community/netinfo/android/build.gradle
- apps/mobile/node_modules/react-native-device-info/android/build.gradle
- apps/mobile/node_modules/react-native-document-picker/android/build.gradle
- apps/mobile/node_modules/react-native-get-random-values/android/build.gradle
- apps/mobile/node_modules/react-native-gzip/android/build.gradle
- apps/mobile/node_modules/react-native-keychain/android/build.gradle
- apps/mobile/node_modules/@react-native-masked-view/masked-view/android/build.gradle
- apps/mobile/node_modules/react-native-reanimated/android/build.gradle
- apps/mobile/node_modules/react-native-safe-area-context/android/build.gradle
- apps/mobile/node_modules/react-native-screens/android/build.gradle
- apps/mobile/node_modules/react-native-securerandom/android/build.gradle
- apps/mobile/node_modules/react-native-share/android/build.gradle
- apps/mobile/node_modules/react-native-svg/android/build.gradle
- apps/mobile/node_modules/react-native-vector-icons/android/build.gradle
- apps/mobile/node_modules/react-native-webview/android/build.gradle
- apps/mobile/node_modules/@sayem314/react-native-keep-awake/android/build.gradle
scandelete:
- .nx/cache
- apps/mobile/node_modules
- node_modules
- packages
- servers/themes/node_modules
build:
- rm -rf ../../../node_modules/react-native-mmkv-storage/android/react-native*
- gradle clean
ndk: r23c
gradleprops:
- buildUniversalApk=false
- reactNativeArchitectures=arm64-v8a
- fdroidBuild=true
- versionName: 3.0.21
versionCode: 15159
commit: 86bf8f68bfba7fc38b73df9c53b01a9308b0058f
subdir: apps/mobile/native/android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288 || true
- apt-get update
- apt-get install -y --no-install-recommends g++ build-essential
- curl -Lo node.tar.gz https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.gz
- echo "bf3a779bef19452da90fb88358ec2c57e0d2f882839b20dc6afc297b6aafc0d7 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
init:
- cd ../../../../..
- npm ci --ignore-scripts --prefer-offline --no-audit
- npm run bootstrap -- --scope=mobile
- npx nx run @notesnook/mobile:build
gradle:
- yes
rm:
- extensions
- apps/desktop
- apps/web
- packages/clipper
prebuild:
- sed -i -e 's|<uses-permission android:name="com.android.vending.BILLING" />||g'
./src/main/AndroidManifest.xml
- cd ../../
- echo GITHUB_RELEASE=true > .env
- sed -i -e 's|false|true|g' react-native.config.js
- sed -i -e '/installReferrerVersion/,+11d' ../node_modules/react-native-device-info/android/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
scanignore:
- apps/mobile/native/android/build.gradle
- apps/mobile/node_modules/@ammarahmed/react-native-share-extension/android/build.gradle
- apps/mobile/node_modules/@bam.tech/react-native-image-resizer/android/build.gradle
- apps/mobile/node_modules/jsc-android
- apps/mobile/node_modules/react-native/*
- apps/mobile/node_modules/react-native-actions-shortcuts/android/build.gradle
- apps/mobile/node_modules/react-native-blob-util/android/build.gradle
- apps/mobile/node_modules/react-native-bootsplash/android/build.gradle
- apps/mobile/node_modules/@react-native-community/netinfo/android/build.gradle
- apps/mobile/node_modules/react-native-device-info/android/build.gradle
- apps/mobile/node_modules/react-native-document-picker/android/build.gradle
- apps/mobile/node_modules/react-native-get-random-values/android/build.gradle
- apps/mobile/node_modules/react-native-gzip/android/build.gradle
- apps/mobile/node_modules/react-native-keychain/android/build.gradle
- apps/mobile/node_modules/@react-native-masked-view/masked-view/android/build.gradle
- apps/mobile/node_modules/react-native-reanimated/android/build.gradle
- apps/mobile/node_modules/react-native-safe-area-context/android/build.gradle
- apps/mobile/node_modules/react-native-screens/android/build.gradle
- apps/mobile/node_modules/react-native-securerandom/android/build.gradle
- apps/mobile/node_modules/react-native-share/android/build.gradle
- apps/mobile/node_modules/react-native-svg/android/build.gradle
- apps/mobile/node_modules/react-native-vector-icons/android/build.gradle
- apps/mobile/node_modules/react-native-webview/android/build.gradle
- apps/mobile/node_modules/@sayem314/react-native-keep-awake/android/build.gradle
scandelete:
- .nx/cache
- apps/mobile/node_modules
- node_modules
- packages
- servers/themes/node_modules
build:
- rm -rf ../../../node_modules/react-native-mmkv-storage/android/react-native*
- gradle clean
ndk: r23c
gradleprops:
- buildUniversalApk=false
- reactNativeArchitectures=x86_64
- fdroidBuild=true
AutoUpdateMode: Version
UpdateCheckMode: Tags ^\d+(\.\d+)*-android$
VercodeOperation:
@ -9415,5 +9727,5 @@ VercodeOperation:
- '%c * 5 + 3'
- '%c * 5 + 4'
UpdateCheckData: apps/mobile/native/android/app/build.gradle|versionCode\s(\d+)|apps/mobile/package.json|"version":.*\"(.*)\",
CurrentVersion: 3.0.19
CurrentVersionCode: 15149
CurrentVersion: 3.0.21
CurrentVersionCode: 15159