Commit graph

194 commits

Author SHA1 Message Date
andrekir
4ab9e18a82 refactor: replace hardcoded config totals 2023-01-06 22:20:39 -03:00
andrekir
cfff2561d9 refactor settings Snackbar 2023-01-02 22:38:25 -03:00
andrekir
e550219e1e analytics/report bug if isGooglePlayAvailable 2022-12-24 08:37:38 -03:00
andrekir
d9691a7fbd ignore onItemSelected without changes 2022-11-29 17:38:21 -03:00
andrekir
3d79601965 change provideLocation on isPressed 2022-11-25 18:53:50 -03:00
Andre K
689e7e7eca
add ModuleConfig settings (#526) 2022-11-22 22:01:37 -03:00
Andre K
9442c1d510
config clean up and updates (#522) 2022-11-15 12:19:59 -03:00
andrekir
00de511907 update targetSdkVersion to 31 2022-11-04 18:31:18 -03:00
andrekir
ce140383bb install channels from wantConfig 2022-10-16 19:19:03 -03:00
andrekir
79ccd40ae1 use locationManager method to determine gps exists or is disabled 2022-10-10 17:47:21 -03:00
andrekir
5382fdae49 update for proto changes 2022-09-18 18:35:13 -03:00
andrekir
2ed5548abb create ChannelSet datastore 2022-09-12 19:07:30 -03:00
andrekir
d9d46236dc use LocationListenerCompat 2022-09-12 18:20:36 -03:00
andrekir
fd0c8ef9b8 refactor config get and set methods 2022-09-12 00:26:12 -03:00
andrekir
7fe5aa0171 observe receivingLocationUpdates flow 2022-09-06 18:25:06 -03:00
andrekir
188d1fddaa remove play services 2022-09-05 00:14:08 -03:00
andrekir
5eb5cd1421 incorporate androidlib 2022-09-04 22:52:40 -03:00
andrekir
4f4750c339 refactor permissions 2022-09-03 11:07:10 -03:00
andrekir
0d62f74a90 update bluetooth strings 2022-08-30 18:35:48 -03:00
Andre K
c1d854dc84
Merge pull request #469 from legendgroupv2/dev-app-bt-prompt
Shows a prompt when Bluetooth is off and trying to add a device
2022-08-30 17:26:36 -03:00
legendgroupv2
1251c76ff0
Changes how bluetooth state is checked for bluetooth check.
Co-authored-by: Andre K <andrekir@pm.me>
2022-08-30 10:45:54 +01:00
andrekir
d5c32407ad add connection feedback 2022-08-23 21:51:27 -03:00
Ayub
e4b2649807 Shows prompt when Bluetooth is off and trying to add device
When trying to add a Meshtastic device, the app will check if bluetooth is turned on, if it isn't then it will display a message.
2022-08-23 16:52:39 +01:00
andrekir
ea0a69524c move fragment ActivityResults to onViewCreated 2022-08-04 23:56:52 -03:00
andrekir
6071fec804 improve settings tab UI 2022-07-29 19:33:40 -03:00
andrekir
4556464b32 register ActivityResult before launch() 2022-07-26 23:49:10 -03:00
andrekir
c368c1b562 disable ownerName text input if isNullOrEmpty 2022-07-26 22:33:03 -03:00
andrekir
9cdaf6f79a fix region changes not updating UI 2022-07-26 22:28:19 -03:00
andrekir
6dbfda0e8f move BTScanModel out of SettingsFragment 2022-06-12 16:32:06 -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
9b45ba84f7 improve location enabled 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
c0a22cdc3a add network service discovery 2022-05-17 00:41:41 -03:00
andrekir
841ea515ba expand interface options beyond BLE 2022-05-16 23:32:49 -03:00
andrekir
ef9114ddc1 bluetooth scan & connect UI rework 2022-05-03 12:16:44 -03:00
andrekir
0294da844b update UI when started with BLE disabled 2022-04-30 00:06:49 -03:00
andrekir
b6410dd162 disassociate devices when not bonded 2022-04-29 23:34:03 -03:00
andrekir
0950e12bd0 add BLE associations to devices list 2022-04-28 23:09:06 -03:00
andrekir
aaa5c1cf04 move hasCompanionDeviceApi out of BluetoothInterface 2022-04-28 21:40:34 -03:00
andrekir
34e240d7fa update deprecated intent method 2022-04-28 11:53:32 -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
Mike Cumings
4f6357103b Move radio service code verbatim into repository/radio 2022-04-22 10:22:03 -07: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
andrekir
291e54c275 use locationShareDisabled boolean 2022-03-26 17:09:05 -03:00
andrekir
b8b2a8a86c improve firmware update 2022-03-11 00:12:48 -03:00