misc fixes

This commit is contained in:
linsui 2023-12-19 14:21:50 +08:00
parent 7ee28b7ed1
commit 70416ad9c7
2 changed files with 36 additions and 21 deletions

View file

@ -3497,19 +3497,21 @@ Builds:
sudo:
- apt-get update
- apt-get install -y jq libopus0 make g++ cmake maven
- curl -Lo node.tar.gz https://nodejs.org/dist/v16.18.0/node-v16.18.0-linux-x64.tar.gz
- echo "faca6476cb5b41aa995370fd856d16fcfbbef5c18718a6fa44cc1bae4140849d node.tar.gz"
- curl -Lo node.tar.gz https://nodejs.org/dist/v21.4.0/node-v21.4.0-linux-x64.tar.gz
- echo "d8cd0ec0b78bcbc591e7a4655a92c1c667e64bc434e7a895904dc1fe9442af1d node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
- sysctl fs.inotify.max_user_watches=524288 || true
- npm -g install yarn
gradle:
- officialFoss
rm:
- ios
- app/lib/notifications/push.ts
- app/lib/notifications/videoConf/backgroundNotificationHandler.ts
- app/lib/notifications/videoConf/getInitialNotification.ts
- patches/react-native-notifications*.patch
- patches/@notifee+react-native*.patch
prebuild:
- sed -i -e 's/999999999/$$VERCODE$$/' ../gradle.properties
- sed -i -e '/crashlytics/d' -e '/gms/d' build.gradle ../build.gradle
@ -3521,7 +3523,7 @@ Builds:
../build.gradle
- cd ../..
- sed -i -e '/react-native-notifications/d' -e '/firebase/d' -e '/bugsnag/d'
-e '/"detox":\s"/d' package.json
-e '/"detox":\s"/d' -e '/notifee/d' package.json
- yarn install
- sed -i -e '/libreBuild/,/^ }/d' node_modules/react-native-device-info/android/build.gradle
- sed -i -e 's|maven.fabric.io/public|jitpack.io|' node_modules/react-native-math-view/android/build.gradle
@ -3531,6 +3533,8 @@ Builds:
- sed -i -e '/.\/push/d' -e 's/deviceToken/""/' -e 's/setNotificationsBadgeCount.*;/{count;};/'
-e 's/pushNotificationConfigure.*;/undefined;/' -e '/removeAllNotifications/d'
app/lib/notifications/index.ts
- sed -i -e '/getInitialNotification/d' app/index.tsx
- sed -i -e '/backgroundNotificationHandler/d' index.js
- sed -i -e 's/com.google.android:cameraview:1.0.0/com.github.expo:cameraview:7bf9090302/'
-e "/mavenCentral/amaven { url 'https://jitpack.io' }" node_modules/expo-camera/android/build.gradle
scanignore:
@ -3597,19 +3601,21 @@ Builds:
sudo:
- apt-get update
- apt-get install -y jq libopus0 make g++ cmake maven
- curl -Lo node.tar.gz https://nodejs.org/dist/v16.18.0/node-v16.18.0-linux-x64.tar.gz
- echo "faca6476cb5b41aa995370fd856d16fcfbbef5c18718a6fa44cc1bae4140849d node.tar.gz"
- curl -Lo node.tar.gz https://nodejs.org/dist/v21.4.0/node-v21.4.0-linux-x64.tar.gz
- echo "d8cd0ec0b78bcbc591e7a4655a92c1c667e64bc434e7a895904dc1fe9442af1d node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
- sysctl fs.inotify.max_user_watches=524288 || true
- npm -g install yarn
gradle:
- officialFoss
rm:
- ios
- app/lib/notifications/push.ts
- app/lib/notifications/videoConf/backgroundNotificationHandler.ts
- app/lib/notifications/videoConf/getInitialNotification.ts
- patches/react-native-notifications*.patch
- patches/@notifee+react-native*.patch
prebuild:
- sed -i -e 's/999999999/$$VERCODE$$/' ../gradle.properties
- sed -i -e '/crashlytics/d' -e '/gms/d' build.gradle ../build.gradle
@ -3621,7 +3627,7 @@ Builds:
../build.gradle
- cd ../..
- sed -i -e '/react-native-notifications/d' -e '/firebase/d' -e '/bugsnag/d'
-e '/"detox":\s"/d' package.json
-e '/"detox":\s"/d' -e '/notifee/d' package.json
- yarn install
- sed -i -e '/libreBuild/,/^ }/d' node_modules/react-native-device-info/android/build.gradle
- sed -i -e 's|maven.fabric.io/public|jitpack.io|' node_modules/react-native-math-view/android/build.gradle
@ -3631,6 +3637,8 @@ Builds:
- sed -i -e '/.\/push/d' -e 's/deviceToken/""/' -e 's/setNotificationsBadgeCount.*;/{count;};/'
-e 's/pushNotificationConfigure.*;/undefined;/' -e '/removeAllNotifications/d'
app/lib/notifications/index.ts
- sed -i -e '/getInitialNotification/d' app/index.tsx
- sed -i -e '/backgroundNotificationHandler/d' index.js
- sed -i -e 's/com.google.android:cameraview:1.0.0/com.github.expo:cameraview:7bf9090302/'
-e "/mavenCentral/amaven { url 'https://jitpack.io' }" node_modules/expo-camera/android/build.gradle
scanignore:
@ -3697,19 +3705,21 @@ Builds:
sudo:
- apt-get update
- apt-get install -y jq libopus0 make g++ cmake maven
- curl -Lo node.tar.gz https://nodejs.org/dist/v16.18.0/node-v16.18.0-linux-x64.tar.gz
- echo "faca6476cb5b41aa995370fd856d16fcfbbef5c18718a6fa44cc1bae4140849d node.tar.gz"
- curl -Lo node.tar.gz https://nodejs.org/dist/v21.4.0/node-v21.4.0-linux-x64.tar.gz
- echo "d8cd0ec0b78bcbc591e7a4655a92c1c667e64bc434e7a895904dc1fe9442af1d node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
- sysctl fs.inotify.max_user_watches=524288 || true
- npm -g install yarn
gradle:
- officialFoss
rm:
- ios
- app/lib/notifications/push.ts
- app/lib/notifications/videoConf/backgroundNotificationHandler.ts
- app/lib/notifications/videoConf/getInitialNotification.ts
- patches/react-native-notifications*.patch
- patches/@notifee+react-native*.patch
prebuild:
- sed -i -e 's/999999999/$$VERCODE$$/' ../gradle.properties
- sed -i -e '/crashlytics/d' -e '/gms/d' build.gradle ../build.gradle
@ -3721,7 +3731,7 @@ Builds:
../build.gradle
- cd ../..
- sed -i -e '/react-native-notifications/d' -e '/firebase/d' -e '/bugsnag/d'
-e '/"detox":\s"/d' package.json
-e '/"detox":\s"/d' -e '/notifee/d' package.json
- yarn install
- sed -i -e '/libreBuild/,/^ }/d' node_modules/react-native-device-info/android/build.gradle
- sed -i -e 's|maven.fabric.io/public|jitpack.io|' node_modules/react-native-math-view/android/build.gradle
@ -3731,6 +3741,8 @@ Builds:
- sed -i -e '/.\/push/d' -e 's/deviceToken/""/' -e 's/setNotificationsBadgeCount.*;/{count;};/'
-e 's/pushNotificationConfigure.*;/undefined;/' -e '/removeAllNotifications/d'
app/lib/notifications/index.ts
- sed -i -e '/getInitialNotification/d' app/index.tsx
- sed -i -e '/backgroundNotificationHandler/d' index.js
- sed -i -e 's/com.google.android:cameraview:1.0.0/com.github.expo:cameraview:7bf9090302/'
-e "/mavenCentral/amaven { url 'https://jitpack.io' }" node_modules/expo-camera/android/build.gradle
scanignore:
@ -3797,19 +3809,21 @@ Builds:
sudo:
- apt-get update
- apt-get install -y jq libopus0 make g++ cmake maven
- curl -Lo node.tar.gz https://nodejs.org/dist/v16.18.0/node-v16.18.0-linux-x64.tar.gz
- echo "faca6476cb5b41aa995370fd856d16fcfbbef5c18718a6fa44cc1bae4140849d node.tar.gz"
- curl -Lo node.tar.gz https://nodejs.org/dist/v21.4.0/node-v21.4.0-linux-x64.tar.gz
- echo "d8cd0ec0b78bcbc591e7a4655a92c1c667e64bc434e7a895904dc1fe9442af1d node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
- sysctl fs.inotify.max_user_watches=524288 || true
- npm -g install yarn
gradle:
- officialFoss
rm:
- ios
- app/lib/notifications/push.ts
- app/lib/notifications/videoConf/backgroundNotificationHandler.ts
- app/lib/notifications/videoConf/getInitialNotification.ts
- patches/react-native-notifications*.patch
- patches/@notifee+react-native*.patch
prebuild:
- sed -i -e 's/999999999/$$VERCODE$$/' ../gradle.properties
- sed -i -e '/crashlytics/d' -e '/gms/d' build.gradle ../build.gradle
@ -3821,7 +3835,7 @@ Builds:
../build.gradle
- cd ../..
- sed -i -e '/react-native-notifications/d' -e '/firebase/d' -e '/bugsnag/d'
-e '/"detox":\s"/d' package.json
-e '/"detox":\s"/d' -e '/notifee/d' package.json
- yarn install
- sed -i -e '/libreBuild/,/^ }/d' node_modules/react-native-device-info/android/build.gradle
- sed -i -e 's|maven.fabric.io/public|jitpack.io|' node_modules/react-native-math-view/android/build.gradle
@ -3831,6 +3845,8 @@ Builds:
- sed -i -e '/.\/push/d' -e 's/deviceToken/""/' -e 's/setNotificationsBadgeCount.*;/{count;};/'
-e 's/pushNotificationConfigure.*;/undefined;/' -e '/removeAllNotifications/d'
app/lib/notifications/index.ts
- sed -i -e '/getInitialNotification/d' app/index.tsx
- sed -i -e '/backgroundNotificationHandler/d' index.js
- sed -i -e 's/com.google.android:cameraview:1.0.0/com.github.expo:cameraview:7bf9090302/'
-e "/mavenCentral/amaven { url 'https://jitpack.io' }" node_modules/expo-camera/android/build.gradle
scanignore:

View file

@ -80,10 +80,9 @@ Builds:
gradle:
- yes
- versionName: 0.12.2
versionCode: 122
disable: https://codeberg.org/pabloscloud/Overload/issues/63
commit: bb4109e3135186f9a3a290c19dc6093519bde250
- versionName: 0.12.4
versionCode: 124
commit: e42478812c300387332a61438d81d99a8f353ef2
subdir: app
sudo:
- apt-get update
@ -94,7 +93,7 @@ Builds:
AllowedAPKSigningKeys: bd39cab0cb224d4ae0979511f3241ed8858d1af86937b7c6397be4ba7ec1a2b4
AutoUpdateMode: None
AutoUpdateMode: Version
UpdateCheckMode: Tags
CurrentVersion: 0.12.4
CurrentVersionCode: 124