diff --git a/build-apk.sh b/build-apk.sh new file mode 100755 index 000000000..5268099cb --- /dev/null +++ b/build-apk.sh @@ -0,0 +1,7 @@ +cd thirdparty/transistor-background-fetch/android +./gradlew :tsbackgroundfetch:publishRelease +cd ../../../ +mkdir android/app/libs +cp -rf thirdparty/transistor-background-fetch/android/tsbackgroundfetch/build/repo/* android/app/libs +flutter build apk +rm -rf android/app/libs diff --git a/thirdparty/transistor-background-fetch b/thirdparty/transistor-background-fetch new file mode 160000 index 000000000..ed83e96ea --- /dev/null +++ b/thirdparty/transistor-background-fetch @@ -0,0 +1 @@ +Subproject commit ed83e96ea3658b3def42f42eb37490650ddf45e5