Commit graph

1428 commits

Author SHA1 Message Date
andrekir
fce97997d8 refactor: manage overlays without clear() calls 2023-08-04 17:07:31 -03:00
andrekir
cdc76155d9 style: replace Pair() usage with explicit values 2023-07-31 23:07:27 -03:00
Andre K
377c6a18e0
feat: add option to show phone GPS location on map 2023-07-31 22:56:15 -03:00
andrekir
fec6700271 chore: suppress DelicateCoroutinesApi warning 2023-07-31 19:56:10 -03:00
andrekir
2a1f7a0bcd refactor: trim CacheLayout padding 2023-07-31 19:55:42 -03:00
andrekir
b07ab5be02 refactor: replace map Toasts with Snackbar 2023-07-31 19:54:48 -03:00
andrekir
95d5581e02 refactor: update resource string parameters 2023-07-31 19:40:05 -03:00
andrekir
a8b8f7c4e0 refactor: clean up startDownload 2023-07-31 18:33:00 -03:00
andrekir
206a1378cc refactor: clean up drawOverlays 2023-07-31 18:18:54 -03:00
andrekir
1d948bad4a refactor: clean up generateBoxOverlay 2023-07-31 18:15:26 -03:00
andrekir
79bf8d1536 feat: add password TextField 2023-07-27 06:47:34 -03:00
andrekir
f222fe4d5e refactor: move snackbar out of ScrollView 2023-07-27 06:30:15 -03:00
andrekir
49617d2e19 fix: calculate download BoundingBox based on zoom factor
instead of calling `setZoom()` before/after `MapView.boundingBox` which can get out of sync and cause inconsistencies in the tile count.
fixes #670
2023-07-27 05:56:59 -03:00
andrekir
094af7c380 fix: refactor overlay handling during offline map downloads
fixes #669
2023-07-27 05:52:54 -03:00
andrekir
3210bf1ad3 fix: don't show Fahrenheit when temperature field is empty (0f) 2023-07-27 05:50:38 -03:00
Jonathan Bennett
75eebb989e
Fix truncation of environmental metrics when using Celsius (#667) 2023-07-27 05:45:04 -03:00
andrekir
4f5a07926e refactor: remove debug message 2023-07-20 18:58:37 -03:00
andrekir
2d30fd89bc feat: add network availability monitoring 2023-07-20 18:57:33 -03:00
andrekir
dabbcf6ef4 fix: workaround to prevent stale nodes.observeAsState() 2023-07-20 18:39:50 -03:00
andrekir
b0f990e42a refactor: improve packetResponse performance 2023-07-20 18:35:03 -03:00
Andre K
527d94d32a
feat: calculate default values for LoRa channel_num and frequency (#664) 2023-07-18 22:28:16 -03:00
andrekir
f27ae8feba refactor: hoist SnackbarHost to Scaffold 2023-07-18 18:28:49 -03:00
andrekir
2f078113fa refactor: simplify map updates for observeAsState variables 2023-07-18 18:27:12 -03:00
andrekir
c7222bc8e9 feat: add mqtt.proxy_to_client_enabled config 2023-07-18 18:04:22 -03:00
andrekir
fc17c59996 fix: change gas resistance unit to MOhms
reference https://github.com/meshtastic/protobufs/pull/365
2023-07-18 18:00:29 -03:00
Jonathan Bennett
bbb9ca3921
feat: Adds Field to Specify Device IP (#663) 2023-07-17 20:28:32 -03:00
Jonathan Bennett
4e410622d8
feat: Honor radio's option to use Fahrenheit (#658) 2023-07-16 05:46:54 -03:00
andrekir
04e8a6a514 feat: add wake lock to map screen 2023-07-15 09:38:41 -03:00
andrekir
fefb2f821b fix: close Socket from onDeviceDisconnect 2023-07-15 09:12:42 -03:00
andrekir
3663eb4bd1 refactor: update Socket handling with use function 2023-07-09 09:16:52 -03:00
andrekir
6f4a10e963 refactor: replace thread with coroutines 2023-07-09 09:15:52 -03:00
andrekir
6bd3683743 refactor: use getter with IntentFilter 2023-07-09 08:19:30 -03:00
andrekir
2c6b35dbdf fix: revert zoomToNodes removal
revert https://github.com/meshtastic/Meshtastic-Android/pull/647/commits/4412a5d5aa6752c9bc1c71084c8570f6efea0df1
2023-07-08 07:22:23 -03:00
Jonathan Bennett
37762f300b
feat: Add option for Miles and Feet for distance (#651) 2023-07-06 18:26:38 -03:00
andrekir
b41d92be32 refactor: improve BluetoothState.bondedDevices updates
- add `BluetoothState` updates from `BluetoothDevice.ACTION_BOND_STATE_CHANGED` intents
- convert `bondedDevices` to List instead of nested Flow
2023-06-29 21:29:38 -03:00
andrekir
cdea292169 refactor: clean up unused code 2023-06-29 21:16:40 -03:00
andrekir
60b13fd020 refactor: replace InputStream handling with use function 2023-06-29 21:16:18 -03:00
andrekir
8d52664010 refactor: move setTileSource() out of defaultMapSettings() 2023-06-29 21:12:58 -03:00
andrekir
674d56cb1b refactor: move showDownloadButton logic into loadOnlineTileSourceBase() 2023-06-29 21:12:09 -03:00
Andre K
d4879ceea9
refactor: migrate MapFragment to Composable (#647) 2023-06-24 07:58:01 -03:00
andrekir
113ccfcc26 refactor: replace Activity with Context parameter 2023-06-21 23:12:31 -03:00
andrekir
952bca3b14 refactor: replace lowercase() with equals() 2023-06-20 08:35:08 -03:00
Andre K
bb3b1eaa85
fix: replace duplicate packet IDs before sending queue (#646) 2023-06-20 08:22:10 -03:00
andrekir
8543150e16 feat: add air_quality_enabled & air_quality_interval 2023-06-18 17:50:18 -03:00
andrekir
379da332e1 fix: remove CompanionDeviceManagerCompat extension 2023-06-18 17:39:04 -03:00
andrekir
07c847ea68 refactor: update startForeground() with explicit service type
from Android Q (API level 29) foreground services require an explicit service type to be specified.
2023-06-18 17:33:06 -03:00
andrekir
d297a5e364 fix: ignore packetResponse implicit ACKs 2023-06-02 17:29:20 -03:00
andrekir
10bb93e6aa fix: add null-safety to BLEDeviceListEntry name parameter 2023-06-02 17:23:11 -03:00
Huston Hedinger
80153f7543
add "sdk_gphone64_arm64" to isEmulator detection (#639) 2023-05-30 18:43:54 -03:00
Andre K
271124dc9c
refactor: implement CompatExtensions (#641)
updates deprecated methods, classes, and flags introduced in Android SDK 33, while ensuring compatibility with previous Android versions
2023-05-30 18:30:46 -03:00