2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 13:47:41 +00:00
Commit Graph

3455 Commits

Author SHA1 Message Date
Albert Vaca Cintora
57ec71e60b Add accessibility description to FABs 2023-09-12 13:06:06 +02:00
Albert Vaca Cintora
17757908c4 Split notification channels for received and sent files
BUG: 433051
2023-09-12 05:14:37 +02:00
Albert Vaca Cintora
708889eed7 Use setFailed for errors when sending/receiving files 2023-09-12 05:06:48 +02:00
Simon Redman
1096ace12c Remove smsMmsChannel notification channel
## Summary

Remove the dead "New Message" notification channel.

This channel was used for a tiny period, probably around 4 years ago, when we thought the only way to support sending MMS on Android was to be the default SMS app, thus we wanted to show users a notification when they received messages while our app was in charge of handling them.

Thankfully, we do not need to be the default SMS app, so this notification channel should be removed.

## Test Plan

### Before:
Looking at the list of notification streams in the settings for KDE Connect will include a "New Message" channel. Notifications are never posted to this channel.

### After:
Users will not see a "New Message" channel. Note that it does show a count of deleted streams, to prevent spam. See [documentation](https://developer.android.com/develop/ui/views/notifications/channels#DeleteChannel) for explanation.
2023-09-12 02:31:52 +00:00
l10n daemon script
b4f33adb6c GIT_SILENT made messages (after extraction) 2023-09-11 00:46:21 +00:00
l10n daemon script
6ff71c3965 GIT_SILENT made messages (after extraction) 2023-09-08 00:45:32 +00:00
Albert Vaca Cintora
cd0ae95e58 Revert "Partially revert "Add MDNS discovery""
Adds back MDNS discovery and the setting to toggle UDP broacasts on/off.

We can probably remove the setting at some point, and just keep it enabled.

Another thing we can probably improve is the acquisition of the multicast
lock, so we only hold it when the app is open, or at least only when the
device is connected to Wifi (which we know). For more context, see commit
https://invent.kde.org/network/kdeconnect-android/-/merge_requests/375/diffs?commit_id=f71a3fe6b95af404d2a675afb78f24847064f8a9

This reverts commit 5da804939d.
2023-09-07 09:40:22 +02:00
Albert Vaca Cintora
f89c01ec17 Release 1.28.0 v1.28.0 2023-09-07 09:33:14 +02:00
Albert Vaca Cintora
5da804939d Partially revert "Add MDNS discovery"
This partially reverts commit 8f8a09a99a.

Removing MDNS to do one last bugfix-only release.
2023-09-07 09:27:55 +02:00
Albert Vaca Cintora
3fbef1da87 Add some logs to ConnectivityManager.NetworkCallback 2023-09-07 09:27:55 +02:00
Albert Vaca Cintora
ce055818c9 Bump deps, do not use alpha accompanist 2023-09-07 09:27:55 +02:00
l10n daemon script
79a59a125f GIT_SILENT made messages (after extraction) 2023-09-07 00:45:20 +00:00
Albert Vaca Cintora
ae98b5c71f When permissions are granted, reload plugins for all devices 2023-09-06 08:09:09 +00:00
Albert Vaca Cintora
6b1b12a178 Bump dependencies 2023-09-06 08:08:53 +02:00
Albert Vaca Cintora
b01266d654 Fix ForegroundServiceStartNotAllowedException in ACTION_SCREEN_ON
The same way we did for ACTION_BOOT_COMPLETED
2023-09-06 07:42:18 +02:00
l10n daemon script
e9a862f27c GIT_SILENT made messages (after extraction) 2023-09-04 00:46:15 +00:00
l10n daemon script
cb0cea827f GIT_SILENT Sync po/docbooks with svn 2023-09-03 02:05:47 +00:00
l10n daemon script
6e5cfd9b2e GIT_SILENT made messages (after extraction) 2023-09-03 00:45:30 +00:00
l10n daemon script
1080bae5e2 GIT_SILENT Sync po/docbooks with svn 2023-09-02 01:49:59 +00:00
l10n daemon script
d2290bedb0 GIT_SILENT made messages (after extraction) 2023-09-02 00:46:41 +00:00
Albert Vaca Cintora
4d2efe6b89 Request notifications permission so we can target Android 13
Starting next month (September 2023) it will be required to target
Android 13 to publish to the Play Store.

On Android 13, we need to request the POST_NOTIFICATIONS permission. 

This change adds the permission as required/optional to the plugins
that do create notifications. It also adds a popup to request it the
first time you open the app.
2023-09-01 03:34:32 +00:00
Albert Vaca Cintora
37db0810aa Bind only the socket we use for UDP broadcast, not the process 2023-08-30 23:12:17 +02:00
Axel Pirek
f9a3598edf Bind sockets to network
Fixes a race condition where onNetworkChange was called before the new
network became the default and the identity packet would be broadcast to
the wrong (e.g. cellular) network.
2023-08-30 23:09:02 +02:00
Albert Vaca Cintora
1d822e1610 Fix keyboard/d-pad navigation
Allows navigating the app using the arrow keys on a keyboard or the
D-pad on a TV remote, up until the plugin list (I haven't checked
specific plugins).
2023-08-30 13:55:08 +00:00
l10n daemon script
4e9dece3b2 GIT_SILENT made messages (after extraction) 2023-08-30 00:46:01 +00:00
Albert Vaca Cintora
8f8a09a99a Add MDNS discovery
Uses Android's `NsdManager` to announce a `_kdeconnect._udp` service using MDNS. This is done in addition to sending UDP broadcasts.

When we detect a device this way, we send a UDP identity packet to it (identical to the ones we broadcast but sent to a single device).

I also added a toggle in settings to disable the UDP broadcasts, so we can test MDNS by itself.
2023-08-28 21:37:55 +00:00
l10n daemon script
b545257fa7 GIT_SILENT Sync po/docbooks with svn 2023-08-28 02:06:33 +00:00
l10n daemon script
2c72619ae7 GIT_SILENT made messages (after extraction) 2023-08-28 00:46:12 +00:00
l10n daemon script
418cf720ab GIT_SILENT made messages (after extraction) 2023-08-27 00:45:55 +00:00
l10n daemon script
5ef5be87ca GIT_SILENT made messages (after extraction) 2023-08-23 00:46:18 +00:00
Albert Vaca Cintora
a74a76b1da Organize permissions 2023-08-21 11:47:13 +02:00
l10n daemon script
bba910e420 GIT_SILENT made messages (after extraction) 2023-08-18 00:44:44 +00:00
l10n daemon script
75de17de47 GIT_SILENT Sync po/docbooks with svn 2023-08-15 01:47:20 +00:00
l10n daemon script
b0833391b4 GIT_SILENT Add new file (after extraction) 2023-08-15 00:45:07 +00:00
l10n daemon script
9a8c72f106 GIT_SILENT made messages (after extraction) 2023-08-15 00:45:02 +00:00
l10n daemon script
723f40d30c GIT_SILENT Sync po/docbooks with svn 2023-08-13 01:45:21 +00:00
l10n daemon script
079ee806e2 GIT_SILENT made messages (after extraction) 2023-08-13 00:45:54 +00:00
l10n daemon script
ed9bdfb276 GIT_SILENT Sync po/docbooks with svn 2023-08-10 01:46:15 +00:00
l10n daemon script
e688e4f89b GIT_SILENT made messages (after extraction) 2023-08-10 00:45:59 +00:00
l10n daemon script
a4e9f9d15b GIT_SILENT Add new file (after extraction) 2023-08-09 00:45:55 +00:00
Albert Vaca Cintora
ea4e6bae7b Use AGP 8.1 locales_config autogeneration 2023-08-08 10:08:10 +02:00
Erik Duisters
b3b538ff31 Migrate build configuration to kotlin
Migrate build logic to kotlin including use of version catalog
2023-08-08 08:01:35 +00:00
Dmitry Yudin
c5c780b5ce Update Presenter activity to use Compose
The Presenter activity including its layout file and related Java class were replaced with Compose UI.
Additionally, the androidx.compose.material3:material3 was updated from version 1.1.0 to version 1.1.1.
2023-08-08 06:12:15 +00:00
l10n daemon script
ad83f76ad1 GIT_SILENT Sync po/docbooks with svn 2023-08-07 02:06:33 +00:00
l10n daemon script
31d0d840d3 GIT_SILENT Add new file (after extraction) 2023-08-07 00:48:24 +00:00
l10n daemon script
2e5810bc7a GIT_SILENT made messages (after extraction) 2023-08-06 00:46:08 +00:00
Erik Duisters
7f39004de2 Consistently use IOUtils.close() 2023-08-05 20:15:36 +00:00
l10n daemon script
f04c415877 GIT_SILENT Sync po/docbooks with svn 2023-08-05 01:46:23 +00:00
l10n daemon script
da0949324c GIT_SILENT made messages (after extraction) 2023-08-05 00:45:57 +00:00
Erik Duisters
10ee5148e6 build.gradle fixes
Fixed usage of deprecated APIs in build.gradle

Updated kotlin, kotlin compiler, coroutines, gradle plugin, compose material3 and recyclerview versions
2023-08-04 12:56:31 +00:00