Newapp: TKCompanionApp

This commit is contained in:
Marco Bresciani 2022-02-28 16:56:28 +00:00 committed by Licaon_Kter
parent 58ff82f9b2
commit 2eec94e291

View file

@ -0,0 +1,65 @@
Categories:
- Science & Education
- Reading
- Writing
License: GPL-3.0-or-later
AuthorName: Marco Bresciani
AuthorEmail: marco.530@outlook.it
AuthorWebSite: https://github.com/marcoXbresciani/
WebSite: https://github.com/marcoXbresciani/TKCompanionApp
SourceCode: https://github.com/marcoXbresciani/TKCompanionApp
IssueTracker: https://github.com/marcoXbresciani/TKCompanionApp/issues
Changelog: https://github.com/marcoXbresciani/TKCompanionApp/blob/HEAD/CHANGELOG.md
AutoName: TKCompanionApp
RepoType: git
Repo: https://github.com/marcoXbresciani/TKCompanionApp
Builds:
- versionName: 0.2.9
versionCode: 29
commit: 0.2.9
subdir: android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288
- curl -Lo node.tar.xz https://nodejs.org/dist/v16.14.0/node-v16.14.0-linux-x64.tar.xz
- echo "0570b9354959f651b814e56a4ce98d4a067bf2385b9a0e6be075739bc65b0fae node.tar.xz"
| sha256sum -c -
- tar xJf node.tar.xz
- cp -a node-v16.14.0-linux-x64/. /usr/local/
init: npm install
gradle:
- yes
prebuild:
- sed -i -e '\!WRITE_EXTERNAL_STORAGE!a<uses-permission android:name="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE"
tools:node="remove" />' -e 's!xmlns:android!xmlns:tools="http://schemas.android.com/tools"
xmlns:android!' -e '/INTERNET/d' -e '/SYSTEM_ALERT_WINDOW/d' -e '/VIBRATE/d'
-e 's/EXTERNAL_STORAGE"/EXTERNAL_STORAGE" tools:node="remove"/g' src/main/AndroidManifest.xml
- sed -i -e '/play-services/d' ../../node_modules/react-native-device-info/android/build.gradle
- sed -i -e '/installReferrerVersion/,+11d' ../../node_modules/react-native-device-info/android/build.gradle
- sed -i -e "/swiperefreshlayout/a implementation(project(':react-native-device-info'))
{ exclude group\x3a 'com.google.firebase'\\ exclude group\x3a 'com.google.android.gms'\\
exclude group\x3a 'com.android.installreferrer'\\ }" build.gradle
scanignore:
- android/build.gradle
- android/app/build.gradle
- node_modules/hermes-engine
- node_modules/jsc-android
- node_modules/react-native/android/com/facebook/react/react-native/*/
- node_modules/react-native-device-info/android/build.gradle
- node_modules/react-native-safe-area-context/android/build.gradle
- node_modules/react-native-screens/android/build.gradle
- node_modules/react-native-vector-icons/android/build.gradle
- node_modules/react-native/ReactAndroid/build.gradle
scandelete:
- node_modules/
ndk: r21e
MaintainerNotes: scanignore is used to allow the "node_modules/react-native/android"
local Maven repository.
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 0.2.9
CurrentVersionCode: 29