From e0cd9cf2def7833ba35dbd8fb673293dd7e71915 Mon Sep 17 00:00:00 2001 From: linsui <2873532-linsui@users.noreply.gitlab.com> Date: Sun, 13 Oct 2024 09:25:33 +0000 Subject: [PATCH] standardnotes: fix 3.195.9 --- metadata/com.standardnotes.yml | 24 +++++++++++++----------- srclibs/notifee.yml | 2 ++ 2 files changed, 15 insertions(+), 11 deletions(-) create mode 100644 srclibs/notifee.yml diff --git a/metadata/com.standardnotes.yml b/metadata/com.standardnotes.yml index 60390a966f..76a567a006 100644 --- a/metadata/com.standardnotes.yml +++ b/metadata/com.standardnotes.yml @@ -621,10 +621,9 @@ Builds: - .yarn/ ndk: r23b - - versionName: 3.195.8 - versionCode: 3003114 - disable: fails to start, notifee error - commit: '@standardnotes/mobile@3.195.8' + - versionName: 3.195.9 + versionCode: 3003117 + commit: '@standardnotes/mobile@3.195.9' subdir: packages/mobile/android/app sudo: - apt-get update @@ -633,6 +632,8 @@ Builds: - sysctl fs.inotify.max_user_watches=524288 || true init: - cd ../../../.. + - sed -i -e 's/version:\ 7.8.0/version:\ 9.1.1/' -e 's/npm:7.8.0/npm:9.1.1/' + -e '/800233/d' yarn.lock - 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"])' @@ -645,7 +646,7 @@ Builds: gradle: - prod srclibs: - - meypod-notifee@36713fb9ae8993421b5c4bc7f4d31e93b11b6627 + - notifee@@notifee/react-native@9.1.1 rm: - packages/mobile/ios prebuild: @@ -658,11 +659,6 @@ Builds: -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 @@ -679,9 +675,15 @@ Builds: - packages/mobile/node_modules - packages/desktop - .yarn/ + build: + - pushd $$notifee$$/android + - gradle publishAarPublicationToMavenRepository + - popd + - rm -rf ../../node_modules/@notifee/react-native/android/libs + - mv $$notifee$$/packages/react-native/android/libs ../../node_modules/@notifee/react-native/android/ ndk: 26.1.10909125 -AutoUpdateMode: None +AutoUpdateMode: Version @standardnotes/mobile@%v UpdateCheckMode: HTTP VercodeOperation: - 3002000 + %c diff --git a/srclibs/notifee.yml b/srclibs/notifee.yml new file mode 100644 index 0000000000..1a2cd99f1b --- /dev/null +++ b/srclibs/notifee.yml @@ -0,0 +1,2 @@ +RepoType: git +Repo: https://github.com/invertase/notifee.git