Skip to content

Android app replaces MacroDroid setup - #37

Merged
tanmayhutt merged 1 commit into
sxivansx:mainfrom
tanmayhutt:feat/android-app
Sep 30, 2026
Merged

tanmayhutt merged 1 commit into
sxivansx:mainfrom
tanmayhutt:feat/android-app

Conversation

@tanmayhutt

@tanmayhutt tanmayhutt commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Android users could not get auto-updating wallpapers to work. MacroDroid downloads the PNG to a file, but Android copies wallpapers into private system storage, so replacing that file never changes the lock screen, and Android 11+ blocks task apps from writing to /Download. Tested and failed on a Galaxy S23 FE.

This PR replaces the MacroDroid instructions with a small Android app that lives in android/ and ships with the site.

  • App (android/, Kotlin + Compose, minSdk 26, 1.1 MB): paste or receive the wallpaper URL, tap once, the lock screen is set through WallpaperManager from an in-memory download. Refreshes daily at a user-chosen time via WorkManager. Nothing else.
  • Website: the Android device list and /api/android-devices are removed. The app measures the phone's real resolution and appends width/height, so one URL works on any Android phone. New 4-step Android guide with a Download APK button and an Open in GitWall app deep link (gitwall://setup?url=...) that falls back to the download when the app is not installed.
  • Distribution: signed release APK committed at public/gitwall.apk, served at /gitwall.apk; /download/android redirects there (override with ANDROID_APK_URL).
  • Fixes: clipboard copy failed silently on non-secure origins, preview blob URLs leaked, Android "Download PNG" produced an iPhone-sized image.
  • .github/workflows/android.yml compile-checks the app on changes under android/.

Verified on a Samsung Galaxy S23 FE (Android 15): install from the site, open in app, lock screen set at 1080x2340.

Test plan

  • npm run build, tsc, eslint, bun test pass
  • ./gradlew assembleRelease builds; APK signed and verified with apksigner
  • End-to-end on a physical Android device against a dev server
  • After deploy: install from https://gitwall.space/gitwall.apk and set a wallpaper with the production URL

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings September 30, 2026 13:14
@vercel

vercel Bot commented Sep 30, 2026

Copy link
Copy Markdown

@tanmayhutt is attempting to deploy a commit to the shivansh Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@tanmayhutt
tanmayhutt merged commit a8a3f98 into sxivansx:main Sep 30, 2026
1 of 2 checks passed
@tanmayhutt
tanmayhutt deleted the feat/android-app branch October 2, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants