Skip to content

Commit

Permalink
Update AndroidX packages and start scripting that.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurik committed Nov 18, 2024
1 parent f9f5577 commit 30410bc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
11 changes: 7 additions & 4 deletions app-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,13 @@ android {
implementation flutter
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"

implementation "androidx.activity:activity:1.0.0"
implementation "androidx.core:core:1.6.0"
implementation "androidx.tracing:tracing:1.0.0"
implementation "androidx.window:window:1.0.0"
implementation "androidx.activity:activity:1.8.1"
implementation "androidx.core:core:1.13.1"
implementation "androidx.lifecycle:lifecycle-common:2.7.0"
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
implementation "androidx.tracing:tracing:1.2.0"
implementation "androidx.window:window:1.2.0"
implementation "androidx.window:window-java:1.2.0"
}

lintOptions {
Expand Down
16 changes: 16 additions & 0 deletions app-android/undef.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash
set -e

out=$1
shift 1
[[ $# -eq 0 ]]

cd "${out}"

rm -rf dexdump
mkdir dexdump
cd dexdump

unzip ../Orchid.apk '*.dex'

grep -Fxv -f<(dexdump *.dex | sed -e '/Class descriptor/!d;s/'\''$//;s/.*: '\''//' | sort -u) <(dexdump -d *.dex | tr ';' $'\n' | sed -e '/.*\(Landroidx\/[a-zA-Z/]*\)$/{s//\1;/;p;};d;' | sort -u) | grep -v '^Landroidx/window/\(extensions\|sidecar\)/'

0 comments on commit 30410bc

Please sign in to comment.