Commit graph

247 commits

Author SHA1 Message Date
andrekir
6e6b1b8ab6 improve handling minAppVersion 2022-08-29 12:50:29 -03:00
PWRxPSYCHO
684bd82772
Merge branch 'meshtastic:master' into feature/osmand-migration 2022-08-25 20:16:31 +00:00
PWRxPSYCHO
0648ccad4b Moved Map Source menu to MapFragment 2022-08-24 12:16:57 -04:00
andrekir
69f311e133 clean up and reformat 2022-08-23 21:39:08 -03:00
Andre Kirchhoff
25de235a93
Merge branch 'master' into dev-app-intro 2022-08-16 19:13:19 -03:00
Douile
340061875f
Fix typo in quick chat dropdown id 2022-08-10 17:26:15 +01:00
Ayub
51f78a3328 Added App Introduction Screens
Added three screens explaining Meshtastic and how to use the app. This is only shown on the first launch of the app.
2022-08-10 17:12:49 +01:00
Douile
ed88170c42
Quick chat 2022-08-09 15:26:52 +01:00
andrekir
7905bc6f70 fix multiple startInterface() calls 2022-06-27 22:28:51 -03:00
andrekir
5328e5d1a2 fix back not moving task to background 2022-06-21 11:02:56 -03:00
andrekir
6dbfda0e8f move BTScanModel out of SettingsFragment 2022-06-12 16:32:06 -03:00
andrekir
54f6112908 create LocalConfig DataStore 2022-06-11 18:36:57 -03:00
andrekir
ce83c84723 update configs to LocalConfig 2022-06-10 21:55:26 -03:00
andrekir
6184e9f30c improve location permission check 2022-06-07 00:33:24 -03:00
andrekir
48fd657d8a update protobufs 2022-05-26 16:23:47 -03:00
Mike Cumings
5546e74b46 Extract RadioInterfaceService companion object functions
In preparation for replacing the `InterfaceFactory` with an
injectable form we need to convert static methods that call
`InterfaceFactory` into non-static, injected forms.

Also:
- Updated kotlin `-Xopt-in` to `-opt-in` to remove build
  time warnings.
- Removed some unused `RadioInterfaceService` code.
2022-05-20 14:27:39 -07:00
andrekir
6bda993851 move location service to repository 2022-05-20 09:13:59 -03:00
andrekir
a4e1f0de77 add mlkit barcode scanner 2022-05-17 17:29:21 -03:00
andrekir
841ea515ba expand interface options beyond BLE 2022-05-16 23:32:49 -03:00
andrekir
eaff87eed3 update debug message reference 2022-04-28 11:54:04 -03:00
andrekir
27c1817a59 rename isConnected --> connectionState 2022-04-24 12:12:13 -03:00
andrekir
8bde3d2ba4 make MutableLiveData private 2022-04-22 17:22:06 -03:00
Andre Kirchhoff
dbea9fbbe7
Merge pull request #416 from wkawecki/master
#413 Add Satellite Map Layers
2022-04-22 16:47:30 -03:00
Mike Cumings
4f6357103b Move radio service code verbatim into repository/radio 2022-04-22 10:22:03 -07:00
wkawecki
8b5b33bcd5 meshtastic#413 Add Satellite Map Layers 2022-04-22 12:28:04 +02:00
andrekir
89811d4aa4 cleanup actionmode 2022-04-19 15:10:17 -03:00
andrekir
bcf0d5be97 remove crashlytics report 2022-04-08 18:37:22 -03:00
Mike Cumings
dd41527bbc Initial step in refactoring RadioInterfaceService for dependency injection
Extracts USB device management into a `UsbRepository`.

In order for `SerialInterface to gain access to this prior to
the `RadioInterfaceService` being fully natively dependency
injected, all `InterfaceFactory` implementations needed
to be modified to accept the `UsbRepository` via argument.  This
will go away in a future PR.

Changed `assumePermission` constant to `false` as it was preventing
the request for permission from occurring, breaking serial connectivity.

Minor improvement: SerialInterface re-bonding by device name is
now supported.
2022-04-08 11:34:44 -07:00
Wojciech Kawecki
eed53cb714
Merge branch 'meshtastic:master' into master 2022-04-07 15:34:36 +02:00
andrekir
ba2a6e0573 add contacts 2022-04-03 11:25:50 -03:00
wkawecki
f0cd86b7a5 #13 add an option to force language X 2022-03-30 23:14:02 +02:00
Mike Cumings
9592fd68de Issue #369 - Expand bluetooth repository use cases
Changes:
- Adds support for obtaining bonded devices
- Adds support for obtaining BLE scanner
- Consolidates state into a single, immutable data class instance
- Simplified and renamed broadcast receiver
- Renamed view model permissionsUpdated fun to identify the intended use
2022-02-27 11:46:30 -08:00
Mike Cumings
b3878a4240 Issue #369 - Use repository pattern for bluetooth state 2022-02-26 22:59:20 -08:00
andrekir
875c1542ea catch snackbar exception 2022-02-12 18:54:10 -03:00
Andre Kirchhoff
9cd1856bb9
Merge pull request #372 from meshtastic/release
1.2.57
2022-02-09 23:15:27 -03:00
andrekir
64114ce341 hold new permissions until targetSdkVersion update 2022-02-09 22:10:25 -03:00
Mike Cumings
654a32c01c Introduce Hilt dependency injection
Uses Hilt to get the database initialization off of the
main thread.

The initial introduction always has a disproportionate
fan-out of boilerplate. In this case, all entry points which
were using UIViewModel needed to be annotated in order to let
the code gen know that they needed to support it.

The PacketRepository is injected into things via the main
thread (e.g., the MeshService) but due to the lazy declaration,
the database isn't hydrated until the DAO is access while on an
IO thread.
2022-02-08 13:57:04 -08:00
andrekir
94355e25f4 move CompanionDeviceManager back to SettingsFragment 2022-02-08 00:07:51 -03:00
andrekir
3001696f9c rename "save messages as csv" to "export rangetest.csv" 2022-02-06 10:30:28 -03:00
andrekir
00810374ea update dialog 2022-02-06 10:30:28 -03:00
andrekir
239a22c1bc add splash screen 2022-02-04 00:57:27 -03:00
Mike Cumings
6012bddbdc Fixes #340 Improve CSV file export 2022-02-03 18:15:06 -08:00
andrekir
c547109f80 change to snackbar notifications 2022-02-03 02:16:31 -03:00
andrekir
d76e631684 call perhapsChangeChannel from qr code result 2022-02-03 02:13:35 -03:00
andrekir
084c16bfe9 clean up and reformat 2022-01-31 21:55:24 -03:00
andrekir
dc852b97ba add bluetooth_connect permission checks 2022-01-31 21:19:54 -03:00
andrekir
6d53b78007 change shouldShowDialog default to false 2022-01-26 14:43:32 -03:00
andrekir
f5c9363d06 add bluetooth scan permission 2022-01-25 18:14:10 -03:00
andrekir
8aa2f546b0 update permissions 2022-01-25 15:59:45 -03:00
andrekir
71e8e9ff6f fix provideLocationCheckbox 2022-01-25 01:20:31 -03:00