Update build scripts, constants, and Android configurations for improved web view handling and debugging

- Rename `proxy.ts` to `_proxy.ts` temporarily during build scripts and clean up backup files.
- Adjust Compass URLs to consistently include "www."
- Introduce WebView debugging toggle via `BuildConfig.ENABLE_WEBVIEW_DEBUG`.
- Bump Android version code to 79 and enable `buildConfig` features.
This commit is contained in:
MartinBraquet
2026-04-02 13:38:37 +02:00
parent 0d758eb5b1
commit 2db74bf256
4 changed files with 21 additions and 5 deletions

View File

@@ -49,8 +49,16 @@ sed -i.bak 's/\bgetStaticPaths\b/_getStaticPaths/g' $USERNAME_PAGE
# rename getServerSideProps to _getServerSideProps
sed -i.bak 's/\bgetServerSideProps\b/_getServerSideProps/g' $HOME_PAGE
# rename proxy to _proxy
mv proxy.ts _proxy.ts
yarn build
sed -i.bak 's/\b_getStaticProps\b/getStaticProps/g' $USERNAME_PAGE
sed -i.bak 's/\b_getStaticPaths\b/getStaticPaths/g' $USERNAME_PAGE
sed -i.bak 's/\b_getServerSideProps\b/getServerSideProps/g' $HOME_PAGE
mv _proxy.ts proxy.ts
# Remove backup files
rm -f "$USERNAME_PAGE.bak" "$HOME_PAGE.bak"