Commit Graph
157 Commits
Author SHA1 Message Date
callebtc 035273011f fix startup 2025-07-12 15:42:37 +02:00
GUVWAF 1b37f46d1e Fallback to broadcast if direct send fails 2025-07-12 13:18:09 +02:00
GUVWAF d1085fde0b Cheap routing optimizations
- Don't relay back to sender or relayer
- Only send to connected device if recipientID matches one
- Don't relay our own ACK/read receipt
2025-07-12 13:18:09 +02:00
callebtc e58cf4fd0d fix null pointer 2025-07-12 12:53:01 +02:00
prudhvir3ddy dfb621ca64 Merge branch 'main' of ssh://github.com/permissionlesstech/bitchat-android into prudhvir3ddy/upgrade_deps 2025-07-12 10:16:12 +05:30
prudhvir3ddy a345d0a021 Refactor: Update permission handling to use PermissionType enum 2025-07-12 10:06:56 +05:30
callebtc 8e93500823 nice 2025-07-12 02:58:30 +02:00
callebtc 50995c670f orange 2025-07-12 02:55:14 +02:00
callebtc 759ebaec93 buttons 2025-07-12 02:49:49 +02:00
callebtc a9995ebfc1 like 2025-07-12 02:45:59 +02:00
callebtc 006ac7e78a buttons 2025-07-12 02:37:51 +02:00
callebtc 83da8f3b1b input 2025-07-12 02:34:56 +02:00
callebtcandGitHub 9b57504c2c Merge pull request #39 from alpermelkeli/main
implement channel password management at local and /pass command hand…
2025-07-12 02:24:51 +02:00
callebtcandGitHub f89aa2f62c Merge pull request #44 from ThatOneCalculator/feat/monochrome-icon
feat: add monochrome icon for Android 12+
2025-07-11 19:14:28 +02:00
callebtcandGitHub cd94542404 Merge pull request #42 from vashisthg/permission-explanation-vertical-padding
fixes vertical padding in permission explanation
2025-07-11 18:39:06 +02:00
callebtcandGitHub 2f25dbd6f8 Merge pull request #59 from prudhvir3ddy/prudhvir3ddy/release_mode
release mode to be minified and shrinked
2025-07-11 18:33:18 +02:00
callebtcandGitHub 72625702f0 Merge pull request #62 from shubertm/unit-tests
Prepare for unit testing
2025-07-11 18:32:39 +02:00
callebtc 75c4b758b6 fix: /w shows usernames now 2025-07-11 18:27:24 +02:00
maximal fa3bb69d74 Optimize PNG images losslessly: 12.4 → 10.2 KiB (−18%) 2025-07-11 18:02:44 +03:00
Shubert Munthali 5b2cbe9516 Add unit tests package and migrate test_color.kt to unit testing 2025-07-11 14:50:59 +02:00
prudhvir3ddy 9bdfa31d55 Upgrade compileSDK, kotlin, AGP, compose, core libs 2025-07-11 17:15:54 +05:30
prudhvir3ddy 622ba5b787 release mode to be minified and shrinked 2025-07-11 16:58:18 +05:30
ShilohEye 33d273f268 Fix Android fragmentation for iOS/Rust compatibility
- Changed MAX_FRAGMENT_SIZE from 500 to 150 bytes to match iOS/Rust
- Fixed fragment ID generation to use 8 random bytes instead of string
- Implemented automatic fragmentation in BluetoothConnectionManager
- Added 20ms delay between fragments to match iOS/Rust implementation
- Updated fragment calculation to account for full packet overhead (34 bytes)

This ensures Android-generated fragments fit within iOS's default 185-byte BLE MTU,
fixing issues with commands like ?ls -la and ?ifconfig failing on iOS devices.
2025-07-10 19:25:52 -04:00
Kainoa Kanter 3941fe1f7e feat: add monochrome/themed icon for Android 12+ 2025-07-10 14:05:29 -07:00
Gaurav Vashisth 1098970810 fixes vertical padding in permission explanation 2025-07-10 23:20:14 +05:30
alpermelkeli 85f23c23fd implement channel password management at local and /pass command handling. 2025-07-10 18:56:55 +03:00
prudhvir3ddy ff9ba1c5c1 Merge branch 'main' of ssh://github.com/permissionlesstech/bitchat-android into prudhvir3ddy/version_catalogs 2025-07-10 17:49:02 +05:30
callebtc f47ed01243 bluetooth checking 2025-07-10 14:15:54 +02:00
prudhvir3ddy 07d0f1089f Refactor: Use Gradle version catalog
This commit introduces the Gradle version catalog (`libs.versions.toml`) to manage dependencies and plugin versions centrally.

Key changes:
- Added `gradle/libs.versions.toml` defining versions, libraries, plugins, and bundles.
- Updated `app/build.gradle.kts` to reference dependencies and plugins from the version catalog.
- Updated project-level `build.gradle.kts` to use plugin aliases from the version catalog.
2025-07-10 17:42:23 +05:30
callebtc ef6a815b4c bluetooth check 2025-07-10 14:01:42 +02:00
callebtc 3cee97ccc7 check bluetooth 2025-07-10 13:49:52 +02:00
callebtc f9f56794d3 onboarding 2025-07-10 13:15:28 +02:00
callebtc 37d605b934 fix notifications 2025-07-10 12:48:04 +02:00
callebtc 8b5c19ace7 notifications 2025-07-10 12:08:22 +02:00
callebtc 797eee0257 fav 2025-07-10 12:03:42 +02:00
callebtc abe6246c3e faving? 2025-07-10 00:34:41 +02:00
callebtc 472c6e8d51 design 2025-07-10 00:29:22 +02:00
callebtc efbdf8c6ff icons 2025-07-10 00:20:03 +02:00
callebtc caf494c1bf ui 2025-07-10 00:17:22 +02:00
callebtc 215383e012 design 2025-07-10 00:03:15 +02:00
callebtc b6f281275a fixed 2025-07-09 21:51:04 +02:00
callebtc 3c0d145406 variable mtu clientside fix 2025-07-09 21:39:12 +02:00
callebtc 90750c2635 disable server, but client works 2025-07-09 21:10:20 +02:00
callebtc 250772a693 silent 2025-07-09 19:49:21 +02:00
callebtc 1d7defcbae rate limiting 2025-07-09 18:29:49 +02:00
callebtc dd8aa083b9 power saving 2025-07-09 15:47:54 +02:00
callebtc d3e258b442 precvent duplicate connections 2025-07-09 15:34:20 +02:00
callebtc d962ed8ccb logging 2025-07-09 15:04:43 +02:00
callebtc fffed8f31e style 2025-07-09 13:05:46 +02:00
callebtc 1d7bb8beab REFACTOR STEP 2: Extract mesh delegate handling to separate class
- Created MeshDelegateHandler.kt to handle all BluetoothMeshDelegate callbacks
- Created ChatViewModelUtils.kt for utility functions like haptic feedback
- ChatViewModel now delegates all mesh events to MeshDelegateHandler
- Final ChatViewModel size: 337 lines (down from 1000+ original)

This completes the refactoring while maintaining 100% functionality.
2025-07-09 00:44:53 +02:00