Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
281 commits
Select commit Hold shift + click to select a range
782d53a
feat(mobile-android): add the ink, provider and tonal buttons
AatmanAJ Nov 30, 2026
5e7c360
feat(mobile-android): add error text, section header, stat label and …
AatmanAJ Nov 30, 2026
8223c1e
feat(mobile-android): add the toast host with haptics and announcement
AatmanAJ Nov 30, 2026
d44c706
feat(mobile-android): add the image pipeline, avatar, organisation ic…
AatmanAJ Nov 30, 2026
5960857
feat(mobile-android): add the empty state and skeleton
AatmanAJ Nov 30, 2026
137332a
feat(mobile-android): add the tab shell with the Record action
AatmanAJ Nov 30, 2026
6e71162
feat(mobile-android): add the debug gallery and Compose tests
AatmanAJ Nov 30, 2026
af1a010
feat(mobile-android): format counts, durations and API errors through…
AatmanAJ Nov 30, 2026
3055ec3
ci: run the Android app's unit tests in the Android job
AatmanAJ Dec 1, 2026
d2f1799
fix(mobile-android): measure an image against the size limit after it…
AatmanAJ Dec 1, 2026
bd96a98
fix(mobile-android): share one image disk cache between loaders
AatmanAJ Dec 1, 2026
1cd6921
fix(mobile-android): keep a whole character when building initials
AatmanAJ Dec 1, 2026
3503fa1
fix(mobile-android): darken the light theme's error red so error text…
AatmanAJ Dec 1, 2026
ede4fce
test(mobile-android): cover a long unbroken string in the gallery
AatmanAJ Dec 1, 2026
ec44bcc
fix(mobile-android): keep the gallery's image server up when a client…
AatmanAJ Dec 1, 2026
54fd47a
feat(mobile-android): add the credential vault
AatmanAJ Dec 1, 2026
9dac6d9
feat(mobile-android): add app phases, session restore and the backup …
AatmanAJ Dec 1, 2026
b9bb13b
feat(mobile-android): add the sign-in layout and hero
AatmanAJ Dec 1, 2026
1affebb
feat(mobile-android): add the email step of sign-in
AatmanAJ Dec 1, 2026
f0c52d3
feat(mobile-android): add the code step of sign-in
AatmanAJ Dec 1, 2026
91fc002
feat(mobile-android): add browser sign-in and the cap://auth callback
AatmanAJ Dec 1, 2026
09bdd5a
feat(mobile-android): add the sign-in error copy
AatmanAJ Dec 1, 2026
e0e07db
feat(mobile-android): sign out when the server rejects the session
AatmanAJ Dec 1, 2026
7cd6402
feat(mobile-android): add sign-out and a first settings page
AatmanAJ Dec 1, 2026
c1284e3
feat(mobile-android): add the debug launch arguments
AatmanAJ Dec 1, 2026
29973f9
test(mobile-android): drive sign-in against the fixture server
AatmanAJ Dec 1, 2026
75d2cc6
fix(mobile-android): keep a browser sign-in across process death
AatmanAJ Dec 1, 2026
c73515f
fix(mobile-android): save the session off the main thread
AatmanAJ Dec 1, 2026
868f1fd
fix(mobile-android): ignore launch extras when restoring a sign-in
AatmanAJ Dec 1, 2026
6a322eb
test(mobile-android): wait for the cache removal after sign-out
AatmanAJ Dec 1, 2026
fd3ecea
feat(mobile-android): add the snapshot cache
AatmanAJ Dec 1, 2026
6de762a
feat(mobile-android): add the session model, cache first
AatmanAJ Dec 1, 2026
3734606
feat(mobile-android): add the library model with refresh
AatmanAJ Dec 1, 2026
0b39c41
feat(mobile-android): page the library and retry a failed page
AatmanAJ Dec 1, 2026
631e7fa
feat(mobile-android): poll the Caps that are still processing
AatmanAJ Dec 1, 2026
182d1df
feat(mobile-android): add the Caps home list, the Cap card and its st…
AatmanAJ Dec 1, 2026
a6cc7ea
feat(mobile-android): pull to refresh the library
AatmanAJ Dec 1, 2026
fffc6c4
feat(mobile-android): add the folder strip and the folder screen
AatmanAJ Dec 1, 2026
b53e3c4
feat(mobile-android): add the scope bar, the organisation switch and …
AatmanAJ Dec 1, 2026
9650401
feat(mobile-android): add the Cap actions menu
AatmanAJ Dec 1, 2026
5655902
feat(mobile-android): add the Add menu and the New folder sheet
AatmanAJ Dec 1, 2026
2829c07
feat(mobile-android): add the Open a Cap link sheet
AatmanAJ Dec 1, 2026
26f8b92
test(mobile-android): drive the library against the fixture server
AatmanAJ Dec 1, 2026
19c8eba
feat(mobile-android): add the Cap detail model with its access check
AatmanAJ Dec 1, 2026
879d3f9
feat(mobile-android): open a Cap on its detail screen
AatmanAJ Dec 1, 2026
1d4606c
feat(mobile-android): play a Cap with Media3
AatmanAJ Dec 1, 2026
31fe8fb
feat(mobile-android): add the player controls with auto-hide and doub…
AatmanAJ Dec 1, 2026
f6b2083
feat(mobile-android): add the scrubber with chapter gaps
AatmanAJ Dec 1, 2026
7f858d4
feat(mobile-android): add the speed menu and remember the speed
AatmanAJ Dec 1, 2026
70c6d0d
feat(mobile-android): play a Cap full screen and turn to landscape
AatmanAJ Dec 1, 2026
3f68fe5
feat(mobile-android): keep watching in Picture in Picture
AatmanAJ Dec 1, 2026
c345306
feat(mobile-android): show the playing Cap in the media controls
AatmanAJ Dec 1, 2026
0043f38
feat(mobile-android): draw captions from the Cap's transcript
AatmanAJ Dec 1, 2026
5f0219e
feat(mobile-android): unlock a password protected Cap
AatmanAJ Dec 1, 2026
2412ea8
feat(mobile-android): refresh a Cap while it is still processing
AatmanAJ Dec 1, 2026
f677e40
feat(mobile-android): count a view when someone else's Cap plays
AatmanAJ Dec 1, 2026
cf15a4b
feat(mobile-android): open cap://s links at their time and comment
AatmanAJ Dec 1, 2026
52f7651
fix(mobile-android): play segmented Caps as HLS
AatmanAJ Dec 1, 2026
c1ba5bc
fix(mobile-android): release detail players when the session ends
AatmanAJ Dec 1, 2026
9301b37
fix(mobile-android): fetch the transcript link once it is written
AatmanAJ Dec 1, 2026
204cb1b
fix(mobile-android): clear a playback failure when the video attaches
AatmanAJ Dec 1, 2026
d4c9ba5
fix(mobile-android): keep Picture in Picture available in full screen
AatmanAJ Dec 1, 2026
f467717
fix(mobile-android): send one Cap's visibility changes in order
AatmanAJ Dec 1, 2026
002f033
fix(mobile-android): keep polling paused when a list arrives late
AatmanAJ Dec 1, 2026
69f5a7c
fix(mobile-android): keep paging past pages with nothing to show
AatmanAJ Dec 1, 2026
f090b4d
fix(mobile-android): let a refresh recover a missing transcript link
AatmanAJ Dec 1, 2026
60ea86c
fix(mobile-android): keep polling when the refresh after a finished C…
AatmanAJ Dec 1, 2026
e0c6d85
fix(mobile-android): send the video access token to the Cap's playlists
AatmanAJ Dec 1, 2026
b4cb7bf
fix(mobile-android): make no folder while the organisation is changing
AatmanAJ Dec 1, 2026
ea01cbf
fix(mobile-android): keep the saved library page in step with deletes…
AatmanAJ Dec 1, 2026
72686cc
fix(mobile-android): walk a copy of the libraries while saving their …
AatmanAJ Dec 1, 2026
bb2b28b
fix(mobile-android): try the refresh after a finished Cap again until…
AatmanAJ Dec 1, 2026
592100f
feat(mobile-android): group comments into threads
AatmanAJ Dec 1, 2026
63ed6a6
feat(mobile-android): list a Cap's comments under the player
AatmanAJ Dec 1, 2026
38217a9
feat(mobile-android): post a comment pinned to the moment
AatmanAJ Dec 1, 2026
dbbfc34
feat(mobile-android): reply to comments and highlight them
AatmanAJ Dec 1, 2026
49f7f43
feat(mobile-android): delete your own comments
AatmanAJ Dec 1, 2026
7b8fd30
feat(mobile-android): react to a Cap and show bursts over the video
AatmanAJ Dec 1, 2026
7b4c39f
feat(mobile-android): mark comments and reactions along the timeline
AatmanAJ Dec 1, 2026
a4c3eb5
feat(mobile-android): read and search a Cap's transcript
AatmanAJ Dec 1, 2026
90757e5
feat(mobile-android): copy and share a Cap's transcript
AatmanAJ Dec 1, 2026
31f6aff
feat(mobile-android): show a Cap's summary and chapters
AatmanAJ Dec 1, 2026
21e5e2d
fix(mobile-android): keep the Cap's video in landscape
AatmanAJ Dec 1, 2026
46a9ec6
fix(mobile-android): show a sent comment once when a refresh lands first
AatmanAJ Dec 1, 2026
b18e6ae
fix(mobile-android): keep a newer draft when a comment fails to send
AatmanAJ Dec 1, 2026
abbfcdc
fix(mobile-android): scroll a linked reply into view and keep it open
AatmanAJ Dec 1, 2026
e1fe41a
fix(mobile-android): keep a deleted comment gone after a stale refresh
AatmanAJ Dec 1, 2026
9b6e38b
fix(mobile-android): never cut a comment in the middle of an emoji
AatmanAJ Dec 1, 2026
f990fe3
fix(mobile-android): keep sent comments through a stale refresh
AatmanAJ Dec 1, 2026
91f1070
fix(mobile-android): finish comments, reactions and deletes after lea…
AatmanAJ Dec 1, 2026
55d3bc5
test(mobile-android): scroll to each node in the Cap social tests
AatmanAJ Dec 1, 2026
2b805e6
fix(mobile-android): start polling a Cap before the reply that needs …
AatmanAJ Dec 1, 2026
01dae22
fix(mobile-android): start polling a Cap before the reply that needs …
AatmanAJ Dec 1, 2026
098467a
fix(mobile-android): show a comment change on a Cap reopened before i…
AatmanAJ Dec 1, 2026
53257a5
fix(mobile-android): highlight a sent reply rather than its parent
AatmanAJ Dec 1, 2026
5cb2f37
fix(mobile-android): keep a deleted comment gone when its send answer…
AatmanAJ Dec 1, 2026
ff52213
test(mobile-android): make the Cap social tests pass on a device
AatmanAJ Dec 1, 2026
1f4a44f
test(mobile-android): stream media through the fixture relay
AatmanAJ Dec 2, 2026
80d3d60
test(mobile-android): close the keyboard before sending a comment
AatmanAJ Dec 2, 2026
42e5e3e
test(mobile-android): drop the chapters heading check from the chapte…
AatmanAJ Dec 2, 2026
93d131b
test(mobile-android): close the relayed reply when the client hangs up
AatmanAJ Dec 2, 2026
07598d5
feat(mobile-android): copy, open and share a Cap from its page
AatmanAJ Dec 1, 2026
abbdfa3
feat(mobile-android): change who can view a Cap from its page
AatmanAJ Dec 1, 2026
e1cee8c
feat(mobile-android): rename a Cap
AatmanAJ Dec 1, 2026
c8dc29d
feat(mobile-android): set or remove a Cap's password
AatmanAJ Dec 1, 2026
338a6b2
feat(mobile-android): delete a Cap from its page
AatmanAJ Dec 1, 2026
32dd1fd
feat(mobile-android): report someone else's Cap
AatmanAJ Dec 1, 2026
0c2e0d6
feat(mobile-android): block the owner of a Cap
AatmanAJ Dec 1, 2026
40c5d19
feat(mobile-android): save a Cap to the device
AatmanAJ Dec 1, 2026
d5f9efa
feat(mobile-android): show Edit and Analytics in the owner's menu
AatmanAJ Dec 1, 2026
c9fa9c7
test(mobile-android): drive the Cap menu against the fixture
AatmanAJ Dec 1, 2026
acf3c69
fix(mobile-android): undo only sharing when a sharing change is refused
AatmanAJ Dec 1, 2026
a59e4ef
fix(mobile-android): delete a cancelled download's file
AatmanAJ Dec 1, 2026
528b641
fix(mobile-android): close a Cap's page after delete or block from an…
AatmanAJ Dec 1, 2026
933af01
fix(mobile-android): finish Cap edits after leaving the Cap
AatmanAJ Dec 1, 2026
d4f184a
fix(mobile-android): show the newer choice when a sharing reply is ov…
AatmanAJ Dec 1, 2026
26c5d5e
test(mobile-android): count a keyboard shown by any window before API 30
AatmanAJ Dec 1, 2026
044b981
fix(mobile-android): keep the password sheet's saving state across ro…
AatmanAJ Dec 1, 2026
58771af
fix(mobile-android): apply only the changed fields from a Cap action'…
AatmanAJ Dec 2, 2026
19053ac
fix(mobile-android): refuse a Cap password too long to unlock
AatmanAJ Dec 2, 2026
dc07592
fix(mobile-android): close the password sheet once a password saved a…
AatmanAJ Dec 2, 2026
82881ab
fix(web): echo a state value in the mobile auth callback
AatmanAJ Dec 2, 2026
b8a056a
fix(mobile-android): require the sign-in state on auth links
AatmanAJ Dec 2, 2026
d5d6132
Merge branch 'fix/web-mobile-auth-state' into feat/mobile-android-auth
AatmanAJ Dec 2, 2026
aded169
fix(mobile-android): let the processing poll back off and stop
AatmanAJ Dec 2, 2026
d7c5186
fix(mobile-android): open provider sign-in in a browser with Auth Tab
AatmanAJ Dec 2, 2026
bf6e1b6
fix(mobile-android): end a browser sign-in whose link is refused
AatmanAJ Dec 2, 2026
0961410
test(mobile-android): run the default browser case only without Auth Tab
AatmanAJ Dec 2, 2026
b2c7d5c
Merge branch 'feat/mobile-android-auth' into feat/mobile-android-library
AatmanAJ Dec 2, 2026
6a53cd4
Merge branch 'feat/mobile-android-library' into feat/mobile-android-p…
AatmanAJ Dec 2, 2026
b14134e
Merge branch 'feat/mobile-android-playback' into feat/mobile-android-…
AatmanAJ Dec 2, 2026
0b1f28b
Merge branch 'feat/mobile-android-social' into feat/mobile-android-ma…
AatmanAJ Dec 2, 2026
f4622c4
fix(mobile-android): keep a new folder in view in a library that had …
AatmanAJ Dec 2, 2026
7c2fc85
fix(mobile-android): send the video access token with Cap images
AatmanAJ Dec 2, 2026
86ea064
fix(mobile-android): hold library loads while the organisation changes
AatmanAJ Dec 2, 2026
4bec40f
fix(mobile-android): keep paging after a refresh and show its errors
AatmanAJ Dec 2, 2026
0ea1212
Merge branch 'feat/mobile-android-library' into feat/mobile-android-p…
AatmanAJ Dec 2, 2026
da8c3d9
Merge branch 'feat/mobile-android-playback' into feat/mobile-android-…
AatmanAJ Dec 2, 2026
e55a23f
Merge branch 'feat/mobile-android-social' into feat/mobile-android-ma…
AatmanAJ Dec 2, 2026
9619007
fix(mobile-android): play a failed video again on refresh
AatmanAJ Dec 2, 2026
703a8c7
fix(mobile-android): keep the screen on while a Cap plays
AatmanAJ Dec 2, 2026
24c12c1
Merge branch 'feat/mobile-android-playback' into feat/mobile-android-…
AatmanAJ Dec 2, 2026
af1cc17
Merge branch 'feat/mobile-android-social' into feat/mobile-android-ma…
AatmanAJ Dec 2, 2026
8e2e4a5
fix(mobile-android): settle the transcript of a Cap over its share limit
AatmanAJ Dec 2, 2026
3760b94
fix(mobile-android): keep a Cap change made while its page was reading
AatmanAJ Dec 2, 2026
77b811b
test(mobile-android): release the held sharing reply before waiting o…
AatmanAJ Dec 2, 2026
9293217
Merge branch 'feat/mobile-android-social' into feat/mobile-android-ma…
AatmanAJ Dec 2, 2026
34a90b3
fix(mobile-android): keep only the page's own changes over an older read
AatmanAJ Dec 2, 2026
d4fa97f
fix(mobile-android): keep a library's own Cap changes over an older p…
AatmanAJ Dec 2, 2026
9020f03
build(mobile-android): stop lint failing when a newer Kotlin is released
AatmanAJ Dec 2, 2026
3e48255
Merge branch 'feat/mobile-android-scaffold' into feat/mobile-android-…
AatmanAJ Dec 2, 2026
b6f321c
Merge branch 'feat/mobile-android-capkit-core' into feat/mobile-andro…
AatmanAJ Dec 2, 2026
4f76560
Merge branch 'feat/mobile-android-design-system' into feat/mobile-and…
AatmanAJ Dec 2, 2026
bb03e50
Merge branch 'feat/mobile-android-auth' into feat/mobile-android-library
AatmanAJ Dec 2, 2026
72a88f1
test(mobile-android): hold the refused sharing reply until the older …
AatmanAJ Dec 2, 2026
a8189f7
Merge branch 'feat/mobile-android-library' into feat/mobile-android-p…
AatmanAJ Dec 2, 2026
5b86fe0
Merge branch 'feat/mobile-android-playback' into feat/mobile-android-…
AatmanAJ Dec 2, 2026
63e6098
Merge branch 'feat/mobile-android-social' into feat/mobile-android-ma…
AatmanAJ Dec 2, 2026
9e90588
build(mobile-android): stop lint failing when a newer dependency is r…
AatmanAJ Dec 2, 2026
06b9353
Merge branch 'feat/mobile-android-scaffold' into feat/mobile-android-…
AatmanAJ Dec 2, 2026
37bdf16
Merge branch 'feat/mobile-android-capkit-core' into feat/mobile-andro…
AatmanAJ Dec 2, 2026
b51ea5f
Merge branch 'feat/mobile-android-design-system' into feat/mobile-and…
AatmanAJ Dec 2, 2026
e5a3559
Merge branch 'feat/mobile-android-auth' into feat/mobile-android-library
AatmanAJ Dec 2, 2026
6151c0a
Merge branch 'feat/mobile-android-library' into feat/mobile-android-p…
AatmanAJ Dec 2, 2026
662038c
Merge branch 'feat/mobile-android-playback' into feat/mobile-android-…
AatmanAJ Dec 2, 2026
bf0ccc1
Merge branch 'feat/mobile-android-social' into feat/mobile-android-ma…
AatmanAJ Dec 2, 2026
6f60f98
fix(mobile-android): back off failed Cap detail polls
AatmanAJ Dec 3, 2026
fdbaa2e
Merge branch 'feat/mobile-android-playback' into feat/mobile-android-…
AatmanAJ Dec 3, 2026
c6fec3b
Merge branch 'feat/mobile-android-social' into feat/mobile-android-ma…
AatmanAJ Dec 3, 2026
2dadfa6
fix(mobile-android): fall back when a decoder fails mid-stream
AatmanAJ Dec 3, 2026
5875cae
Merge branch 'feat/mobile-android-playback' into feat/mobile-android-…
AatmanAJ Dec 3, 2026
dafc043
Merge branch 'feat/mobile-android-social' into feat/mobile-android-ma…
AatmanAJ Dec 3, 2026
290f223
feat(mobile-android): port the redesign design system foundation
AatmanAJ Dec 4, 2026
c2fcf39
Merge branch 'feat/mobile-android-design-system' into feat/mobile-and…
AatmanAJ Dec 4, 2026
da5dd88
Merge commit 'c2fcf39fb89b41d600127446079f04d97e06d0ed' into HEAD
AatmanAJ Dec 4, 2026
e1cca72
Merge commit 'da5dd88b0ff6d89e38ae48d300eae84d902ba3af' into HEAD
AatmanAJ Dec 4, 2026
de54b11
Merge commit 'e1cca72510e9efa54bc6754c6dcb76d558de1a38' into HEAD
AatmanAJ Dec 4, 2026
8a8c627
Merge commit 'de54b11cb4f36a29b3d938addd8eff592a02a618' into HEAD
AatmanAJ Dec 4, 2026
77d0721
feat(mobile-android): redesign Cap playback detail
AatmanAJ Dec 4, 2026
a0584be
Merge commit '77d0721b990402aac1ef3976d1c973b20c1cb3ef' into HEAD
AatmanAJ Dec 4, 2026
4d46b46
fix(mobile-android): resolve design system review findings
AatmanAJ Dec 4, 2026
2ea489c
feat(mobile-android): restyle Cap social sections
AatmanAJ Dec 4, 2026
3593cca
Merge branch 'feat/mobile-android-design-system' into feat/mobile-and…
AatmanAJ Dec 4, 2026
42bb866
Merge branch 'feat/mobile-android-auth' into feat/mobile-android-library
AatmanAJ Dec 4, 2026
66f1923
Merge branch 'feat/mobile-android-library' into feat/mobile-android-p…
AatmanAJ Dec 4, 2026
fb72482
Merge branch 'feat/mobile-android-playback' into feat/mobile-android-…
AatmanAJ Dec 4, 2026
29ccd84
Merge branch 'feat/mobile-android-social' into feat/mobile-android-ma…
AatmanAJ Dec 4, 2026
4350e8f
Merge commit '2ea489ce454a36353b87bb397d51bc29822ae18d' into HEAD
AatmanAJ Dec 4, 2026
146c756
feat(mobile-android): refine Cap share audience controls
AatmanAJ Dec 4, 2026
2a9e7ea
merge branch 'feat/mobile-android-playback' of ssh://github.com/Aatma…
AatmanAJ Dec 4, 2026
b870cb2
Merge commit '2a9e7eab246da6a58ee81086257b1d7de511f687' into HEAD
AatmanAJ Dec 4, 2026
93ddd38
Merge remote-tracking branch 'origin/feat/mobile-android-social' into…
AatmanAJ Dec 4, 2026
3f9a654
Merge commit '93ddd383318d41a9a936b231107fa6b1c55a633b' into HEAD
AatmanAJ Dec 4, 2026
e21bf8d
Merge remote-tracking branch 'origin/feat/mobile-android-management' …
AatmanAJ Dec 4, 2026
2d357b2
feat(mobile-android): redesign the sign-in flow
AatmanAJ Dec 4, 2026
4cd0aec
Merge branch 'feat/mobile-android-auth' into sign-in redesign
AatmanAJ Dec 4, 2026
5d36e76
Merge branch 'feat/mobile-android-auth' into feat/mobile-android-library
AatmanAJ Dec 4, 2026
40beec1
Merge commit '5d36e76d01496508184c37772ba0b2af89591f63' into HEAD
AatmanAJ Dec 4, 2026
482ac9c
Merge commit '40beec1cf7be7a1f72fc9a76566860a82c5aa5e6' into HEAD
AatmanAJ Dec 4, 2026
f8fd8a1
Merge commit '482ac9c76286bfb6e77e4666fcb2f1547a5879f8' into HEAD
AatmanAJ Dec 4, 2026
9c3c567
test(mobile-android): cover the Cap share sheet
AatmanAJ Dec 4, 2026
eb74b3d
fix(mobile-android): keep sign-in navigation and errors reachable
AatmanAJ Dec 4, 2026
d4a30be
Merge commit '77d0721b990402aac1ef3976d1c973b20c1cb3ef' into HEAD
AatmanAJ Dec 4, 2026
b8ed8b0
Merge branch 'feat/mobile-android-auth' into feat/mobile-android-library
AatmanAJ Dec 4, 2026
97edc97
Merge branch 'feat/mobile-android-library' into feat/mobile-android-p…
AatmanAJ Dec 4, 2026
e1de0f0
Merge branch 'feat/mobile-android-playback' into feat/mobile-android-…
AatmanAJ Dec 4, 2026
86dfdd7
Merge branch 'feat/mobile-android-social' into feat/mobile-android-ma…
AatmanAJ Dec 4, 2026
87e0c66
Merge commit 'd4a30be44db927a8e7048a8e229c4a19eb7897cb' into HEAD
AatmanAJ Dec 4, 2026
2d96003
Merge remote-tracking branch 'origin/feat/mobile-android-social' into…
AatmanAJ Dec 4, 2026
82e535f
Merge commit '2d960034954a240a481f57083e4fd16550217d9a' into HEAD
AatmanAJ Dec 4, 2026
2139edd
Merge remote-tracking branch 'origin/feat/mobile-android-management' …
AatmanAJ Dec 4, 2026
ba55b6b
fix(mobile-android): finish the Cap share sheet cleanup
AatmanAJ Dec 4, 2026
ce341f1
Merge commit 'd4a30be44db927a8e7048a8e229c4a19eb7897cb' into HEAD
AatmanAJ Dec 4, 2026
52ff992
Merge commit 'ce341f1cbed2ed002cc75805eed32b1f80803f18' into HEAD
AatmanAJ Dec 4, 2026
28d2f71
Merge remote-tracking branch 'origin/feat/mobile-android-social' into…
AatmanAJ Dec 4, 2026
6259cfc
Merge commit '28d2f711f112edef6b41bd44e142490f35328d29' into HEAD
AatmanAJ Dec 4, 2026
7a52fb7
Merge remote-tracking branch 'origin/feat/mobile-android-management' …
AatmanAJ Dec 4, 2026
53eb523
test(mobile-android): target the share sheet rows exactly
AatmanAJ Dec 4, 2026
afe234e
feat(mobile-android): redesign the Caps library
AatmanAJ Dec 4, 2026
ffd414c
fix(mobile-android): keep playback controls reachable in short windows
AatmanAJ Dec 4, 2026
a0a652a
Merge branch 'p06-finish/playback' into p06-finish/social
AatmanAJ Dec 4, 2026
b95ea33
Merge branch 'p06-finish/social' into p06-finish/management
AatmanAJ Dec 4, 2026
adc0089
fix(mobile-android): make share sheet audience changes complete
AatmanAJ Dec 4, 2026
d683a87
test(mobile-android): assert renamed titles through the detail model
AatmanAJ Dec 4, 2026
cf0662c
fix(mobile-android): finish the library redesign interactions
AatmanAJ Dec 4, 2026
33a9ee7
Merge commit 'cf0662c46253ec1dbd0ac2566079be8f767c2bce' into HEAD
AatmanAJ Dec 4, 2026
d909d0d
Merge commit '33a9ee7bc484bcc894c1a2190c1f86a52ec591ef' into HEAD
AatmanAJ Dec 4, 2026
a5dd5f5
Merge commit 'd909d0d2c59a1282cf49e55d5b0f84fb498acf67' into HEAD
AatmanAJ Dec 4, 2026
c7a775b
fix(mobile-android): keep landscape playback controls usable
AatmanAJ Dec 4, 2026
93fbc61
Merge branch 'p06-finish2/playback' into p06-finish2/social
AatmanAJ Dec 4, 2026
711d044
Merge branch 'p06-finish2/social' into p06-finish2/management
AatmanAJ Dec 4, 2026
3a411e1
fix(mobile-android): keep reply context and landscape playback reachable
AatmanAJ Dec 4, 2026
aae6dd6
fix(mobile-android): finish the library redesign states
AatmanAJ Dec 4, 2026
df3b940
Merge commit 'aae6dd6036b36ecbe93ece6258eb3510fd39270d' into HEAD
AatmanAJ Dec 4, 2026
9d33cd2
Merge commit 'df3b9406fc7a426e40e59e6ddb4d106f7f283c85' into HEAD
AatmanAJ Dec 4, 2026
49fd360
Merge commit '9d33cd2e8ec37aafe6c47bfe9c7cc8853ad8223c' into HEAD
AatmanAJ Dec 4, 2026
ede73ca
fix(mobile-android): reconcile refused audience changes
AatmanAJ Dec 4, 2026
d0f728c
fix(mobile-android): show reply context without a visibility race
AatmanAJ Dec 4, 2026
e8ff65d
Merge branch 'p06-finish2/social' into p06-finish2/management
AatmanAJ Dec 4, 2026
86f7107
Merge remote-tracking branch 'origin/feat/mobile-android-playback' in…
AatmanAJ Dec 4, 2026
d1744ac
Merge remote-tracking branch 'origin/feat/mobile-android-social' into…
AatmanAJ Dec 4, 2026
ed0f585
Merge remote-tracking branch 'origin/feat/mobile-android-management' …
AatmanAJ Dec 4, 2026
b634d56
Merge branch 'p06-finish2/playback' into p06-finish2/social
AatmanAJ Dec 4, 2026
60cac36
Merge branch 'p06-finish2/social' into p06-finish2/management
AatmanAJ Dec 4, 2026
d16c4a9
fix(mobile-android): finish the library scope and sorting behaviour
AatmanAJ Dec 4, 2026
dd3b8fa
Merge commit 'd16c4a992f13d698210407179edaf26e2b6eba11' into HEAD
AatmanAJ Dec 4, 2026
569fcd6
Merge commit 'dd3b8faf9898b6e1523b16b1bb5c79879c5833db' into HEAD
AatmanAJ Dec 4, 2026
3f3f0bb
Merge commit '569fcd6444465edd4bf6424b1468fa3ee8c84f04' into HEAD
AatmanAJ Dec 4, 2026
47e2a9f
test(mobile-android): cover team member downloads
AatmanAJ Dec 4, 2026
e0bb51c
Merge remote-tracking branch 'origin/feat/mobile-android-management' …
AatmanAJ Dec 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
gpui: ${{ steps.filter.outputs.rust-without-cli == 'true' || steps.filter.outputs.gpui == 'true' }}
gpui-patches: ${{ steps.filter.outputs.gpui-patches }}
ios: ${{ steps.filter.outputs.ios }}
android: ${{ steps.filter.outputs.android }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -85,6 +86,10 @@ jobs:
- 'scripts/prepare-gpui-dependency.sh'
ios:
- 'apps/mobile-ios/**'
android:
- '.github/workflows/ci.yml'
- 'apps/mobile-android/**'
- 'apps/mobile-ios/CapKit/Tests/CapKitTests/Fixtures/**'

typecheck:
name: Typecheck
Expand Down Expand Up @@ -162,6 +167,28 @@ jobs:
-derivedDataPath "$RUNNER_TEMP/cap-ios"
CODE_SIGNING_ALLOWED=NO build

android:
name: Android
needs: changes
if: needs.changes.outputs.android == 'true'
runs-on: blacksmith-8vcpu-ubuntu-2404
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v6
with:
distribution: temurin
java-version: 17

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6

- name: Check, test and build
working-directory: apps/mobile-android
run: ./gradlew spotlessCheck :capkit:test :app:testDebugUnitTest :app:lintDebug :app:assembleRelease

format-biome:
name: Format (Biome)
runs-on: blacksmith-8vcpu-ubuntu-2404
Expand Down
6 changes: 6 additions & 0 deletions apps/mobile-android/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
build/
.gradle/
.kotlin/
local.properties
captures/
*.iml
1,068 changes: 1,068 additions & 0 deletions apps/mobile-android/PLAN.md

Large diffs are not rendered by default.

117 changes: 117 additions & 0 deletions apps/mobile-android/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
# Cap for Android

Native Android app for Cap, written in Kotlin and Jetpack Compose. So far it holds `capkit`, the client core the screens will be built on, and an app with the design system, sign-in and the tab shell, whose pages are still placeholders apart from a first Settings page. [PLAN.md](PLAN.md) holds the audit of the iOS app and the plan for the rest.

## Layout

- `capkit/` is a plain Kotlin module on the JVM with no Android imports, the counterpart of the Foundation-only CapKit Swift package. It holds the server environment and its URL rules, the share-link, deep-link and sign-in callback parsers, the JSON models with their lenient decoding, the error model, the API client with every mobile endpoint, and the text formatting helpers. It has no UI, and the only thing it stores is the snapshot cache: JSON files, one directory per user, under a directory the app hands it.
- `app/` is the Android application, `so.cap.mobile`. With no saved session it opens on the sign-in screen, under `features/auth/`: an emailed code, or Google through the browser, which returns to the app at `cap://auth`. With one it opens on the tab shell: Caps and Analytics pages, which are placeholders for now, a Settings page under `features/settings/` that so far holds the version and Sign out, and a Record action that opens a placeholder full-screen page. `designsystem/` holds the theme and the shared components, and `app/src/debug` adds a gallery activity that shows every one of them.
- `gradle/libs.versions.toml` is the one place versions are pinned. The Gradle wrapper is checked in with its distribution checksum.

The directory has no `package.json`, so it is not a Bun workspace member and has no Turbo task. Gradle is the only build tool here.

## Develop

You need JDK 17 and an Android SDK with the API 37.2 platform (`platforms;android-37.2`). The Android Gradle plugin downloads its default Build Tools, 36.0.0, into the SDK on the first build if the SDK licences have been accepted.

```sh
export JAVA_HOME=/path/to/jdk-17
export ANDROID_HOME=$HOME/Library/Android/sdk
```

Run the checks from this directory. This is also what CI runs, apart from the debug build:

```sh
./gradlew spotlessCheck :capkit:test :app:testDebugUnitTest :app:lintDebug :app:assembleDebug :app:assembleRelease
```

- `:app:testDebugUnitTest` runs the app's JVM unit tests: the toast timing, the image request rules, the thumbnail, the credential vault, the app phases, the sign-in model, the session and library models, the Cap detail model, the player controls, the media request rules, the playback preferences, the backup rules and, for the debug build, the launch arguments.
- `spotlessCheck` checks Kotlin sources and Gradle scripts against ktfmt in the kotlinlang style. `./gradlew spotlessApply` rewrites them.
- Kotlin warnings fail the build in both modules.
- Android Lint treats warnings as errors. `app/lint-baseline.xml` is empty and should stay empty.

## capkit tests

`./gradlew :capkit:test` runs on the JVM, with no emulator and no network beyond loopback.

- The client tests send real requests with OkHttp to an HTTP server from the JDK bound to 127.0.0.1, and check the method, path, query, headers and body that arrive. There are no mocks and no sleeps.
- The decoding tests read the five JSON fixtures of the iOS tests in place, from `apps/mobile-ios/CapKit/Tests/CapKitTests/Fixtures`, which `capkit/build.gradle.kts` adds as a test resource directory. The files are not copied, so a change to a fixture reaches both clients, and CI runs the Android job when that directory changes.
- `capkit/src/test/resources/relative-dates.txt` is relative-date text recorded from Swift's formatter for the en_US locale. The formatting tests compare against it, because the JVM has no formatter that produces the same wording.

Any decision about where an HTTP request may go, or which URL may carry the API key, is made with OkHttp's own URL parser, the one that sends the request. Load a URL with OkHttp, or load the form `SafeUrl.media` returns, so that the loader and the check read the same host.

## Run on an emulator

```sh
adb install -r app/build/outputs/apk/debug/app-debug.apk
adb shell am start -n so.cap.mobile.debug/so.cap.mobile.MainActivity
```

Debug builds read two launch extras, the Android form of the iOS app's `CAP_API_BASE_URL` and `CAP_DEBUG_SESSION`, so the app can be driven against the fixture server of the iOS app with no real account:

```sh
python3 ../mobile-ios/Fixtures/server.py 4310
adb reverse tcp:4310 tcp:4310
adb shell am start -S -n so.cap.mobile.debug/so.cap.mobile.MainActivity \
--es capApiBaseUrl http://localhost:4310 \
--es capDebugSession 0f3a5c2e-6b4d-4a7f-9e1c-2d3b4a5c6d7e:user_richie
```

- `capApiBaseUrl` points the app at another server until the process ends: any https origin, or http on a local development host. It is read when `MainActivity` is created, so pass `-S` to start from a stopped app.
- `capDebugSession` is `<API key>:<user id>` and saves that session before the first screen, only when the server is a local development host. Leave it out to reach the sign-in screen; on the fixture any email signs in with the code 123456.
- Both are read by code in `app/src/debug` only. A release build ignores them.

Debug builds also carry a component gallery. `section` is optional and takes one of `foundations`, `controls`, `panels`, `buttons`, `text`, `badges`, `toasts`, `images`, `thumbnails`, `emptystates` or `skeletons`; `theme` takes `light` or `dark` and `fontScale` a number, and both default to the system setting. The gallery loads its sample images through the real image pipeline from a small HTTP server it runs on the device's loopback address.

```sh
adb shell am start -n so.cap.mobile.debug/so.cap.mobile.GalleryActivity --es section thumbnails --es theme dark --ef fontScale 2.0
```

The instrumented tests need a running emulator or device. They render every gallery component in light, in dark and at font scale 2.0 and fail if any text is clipped or truncated, they drive the tab shell, and they drive sign-in, sign-out and a rejected session against the fixture server. For those the fixture has to be running and reachable from the device at `http://localhost:4310`, which is what the two commands at the top of this section set up.

```sh
./gradlew :app:connectedDebugAndroidTest
```

If the fixture listens somewhere else, say where:

```sh
./gradlew :app:connectedDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.capFixtureUrl=http://localhost:4314
```

## Debug and release builds

- Debug builds install as `so.cap.mobile.debug`, so a debug and a release build can sit on one device.
- Only debug builds allow HTTP, and only to `localhost` and `127.0.0.1`, through `app/src/debug/res/xml/network_security_config.xml`. Release builds carry no network security config.
- Release builds are unsigned and not shrunk yet.
- minSdk is 29 and targetSdk is 37. compileSdk is 37.2 because Compose 1.13.0 only compiles against API 37.1 or later.
- Backup is switched off (`allowBackup="false"`) and both backup rule files exclude every domain, for cloud backup and for device transfer. The saved session is a file in the no-backup directory, sealed with a key that stays in the Android Keystore, so it is neither copied off the device nor readable on it.

## Dependencies and licences

Read from each artefact's published POM on 30 November 2026, and AndroidX Browser's, Media3's and DataStore's on 1 December 2026.

| Scope | Dependency | Licence |
|---|---|---|
| Shipped in the app | Jetpack Compose (BOM 2026.11.01, Material 3 1.5.0), AndroidX Activity Compose 1.13.0, AndroidX Browser 1.10.0, Navigation 3 1.2.2, kotlinx.coroutines 1.11.0, Coil 3.6.3 (`coil-compose-core`, `coil-network-okhttp`), OkHttp 5.5.1, Media3 1.11.1 (`media3-exoplayer`, `media3-exoplayer-hls`, `media3-datasource-okhttp`, `media3-ui-compose`, `media3-session`), DataStore Preferences core 1.3.0, `capkit` and what they bring in: 180 artefacts on the release runtime classpath. They are AndroidX, Kotlin, kotlinx, Compose Multiplatform, Coil, OkHttp and Okio libraries, plus Accompanist Drawable Painter, JSpecify, JetBrains annotations and Guava | Apache 2.0 for 179 of them; 176 state it in their own POM; Guava 33.3.1-android, `failureaccess` 1.0.2 and the empty `listenablefuture` state none and inherit it from `guava-parent`. `androidx.datastore:datastore-preferences-external-protobuf`, DataStore's repackaged copy of Protocol Buffers, is BSD 3-Clause |
| Shipped in the app | The Cap logo and wordmark on the sign-in screen, converted without loss to WebP from the iOS app's `CapLogoLarge` and `CapWordmark` images | Cap's own artwork, from this repository |
| Shipped in the app | The Google mark on "Continue with Google", the iOS app's `GoogleLogo` image as a vector drawable | From this repository; the mark is a trademark of Google |
| Shipped in the app | Material Symbols icons (Rounded), copied from [google/material-design-icons](https://github.com/google/material-design-icons) as vector drawables in `app/src/main/res/drawable` | Apache 2.0, from that repository's LICENSE file |
| Shipped in the app | Inter 4.1 Regular, Medium and SemiBold, copied unmodified from [rsms/inter](https://github.com/rsms/inter) into `app/src/main/res/font`; its licence is bundled in `app/src/main/assets/fonts/INTER_LICENSE.txt` | SIL Open Font License 1.1, from the release's LICENSE.txt |
| `capkit` | kotlinx.serialization JSON 1.13.0 and the kotlinx-serialization-core it brings in | Apache 2.0 |
| `capkit` | OkHttp 5.5.1 and the Okio 3.18.1 it brings in | Apache 2.0 |
| `capkit` | kotlinx.coroutines core 1.11.0 and the JetBrains annotations 23.0.0 it brings in | Apache 2.0 |
| Tests only | kotlinx.coroutines test 1.11.0 | Apache 2.0 |
| Tests only | JUnit 4.13.2 | Eclipse Public License 1.0 |
| Tests only | Hamcrest core 1.3, brought in by JUnit | New BSD, stated in `hamcrest-parent` |
| Tests only | Compose UI test (`ui-test-junit4` from the BOM), AndroidX Test ext JUnit 1.3.0, runner 1.7.0 and Espresso core 3.7.0, and what they bring in: 15 artefacts that are not in the app, among them JSR 305, Error Prone annotations and `javax.inject` | Apache 2.0 for all 15 |
| Tests only | Hamcrest library 1.3, brought in by Espresso | New BSD, stated in `hamcrest-parent` |
| Build | Android Gradle plugin 9.5.3 | Apache 2.0 |
| Build | Kotlin Gradle plugin, Compose compiler plugin and serialization plugin 2.4.21 | Apache 2.0 |
| Build | Spotless Gradle plugin 8.12.0, ktfmt 0.64 | Apache 2.0 |

The build plugins' own dependencies were not surveyed; they run on the build machine and are not part of the app. To list what ships:

```sh
./gradlew -q :app:dependencies --configuration releaseRuntimeClasspath
```
78 changes: 78 additions & 0 deletions apps/mobile-android/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.compose)
alias(libs.plugins.kotlin.serialization)
}

android {
namespace = "so.cap.mobile"
compileSdk {
version = release(37) { minorApiLevel = 2 }
}

defaultConfig {
applicationId = "so.cap.mobile"
minSdk = 29
targetSdk = 37
versionCode = 1
versionName = "1.0.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
debug {
applicationIdSuffix = ".debug"
}
release {
isMinifyEnabled = false
}
}

buildFeatures {
compose = true
}

lint {
warningsAsErrors = true
disable += "NewerVersionAvailable"
disable += "GradleDependency"
abortOnError = true
baseline = file("lint-baseline.xml")
}
}

kotlin {
jvmToolchain(17)
compilerOptions {
allWarningsAsErrors = true
}
}

dependencies {
implementation(project(":capkit"))
implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.activity.compose)
implementation(libs.androidx.browser)
implementation(libs.androidx.compose.material3)
implementation(libs.androidx.navigation3.runtime)
implementation(libs.androidx.navigation3.ui)
implementation(libs.coil.compose.core)
implementation(libs.coil.network.okhttp)
implementation(libs.datastore.preferences.core)
implementation(libs.kotlinx.coroutines.android)
implementation(libs.media3.datasource.okhttp)
implementation(libs.media3.exoplayer)
implementation(libs.media3.exoplayer.hls)
implementation(libs.media3.session)
implementation(libs.media3.ui.compose)
implementation(libs.okhttp)

testImplementation(libs.junit)
testImplementation(libs.kotlinx.coroutines.test)

androidTestImplementation(platform(libs.androidx.compose.bom))
androidTestImplementation(libs.androidx.compose.ui.test.junit4)
androidTestImplementation(libs.androidx.test.espresso.core)
androidTestImplementation(libs.androidx.test.ext.junit)
androidTestImplementation(libs.androidx.test.runner)
}
4 changes: 4 additions & 0 deletions apps/mobile-android/app/lint-baseline.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 9.5.3" type="baseline" client="gradle" dependencies="false" name="AGP (9.5.3)" variant="all" version="9.5.3">

</issues>
18 changes: 18 additions & 0 deletions apps/mobile-android/app/src/androidTest/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<application>
<activity
android:name="so.cap.mobile.FakeBrowserActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" />
<data android:scheme="https" />
</intent-filter>
</activity>
</application>

</manifest>
Loading
Loading