2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 05:37:43 +00:00

3345 Commits

Author SHA1 Message Date
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
Albert Vaca Cintora
5c99b1d32e Avoid starting more than 1 connection to the same device
Since we close old connections when a new connection is received, due to
race conditions we could end up without a valid connection in this case.

Equivalent to https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/580
2023-08-04 08:25:11 +00:00
l10n daemon script
3ffbaad554 GIT_SILENT Sync po/docbooks with svn 2023-08-04 01:46:37 +00:00
l10n daemon script
f021e2b83f GIT_SILENT Add new file (after extraction) 2023-08-04 00:45:38 +00:00
Erik Duisters
3da626156c Fix addPacket replacing existing and then adding duplicate item 2023-08-03 12:25:40 +02:00
l10n daemon script
7be8ced91c GIT_SILENT Sync po/docbooks with svn 2023-08-03 02:06:55 +00:00
l10n daemon script
7d2e2edce5 GIT_SILENT made messages (after extraction) 2023-08-03 00:45:58 +00:00
l10n daemon script
52e44d5155 GIT_SILENT Sync po/docbooks with svn 2023-08-02 01:54:11 +00:00
Erik Duisters
0bd326d403 Some Kotlin refactorings 2023-08-01 11:22:41 +00:00
l10n daemon script
46dd6a4bef GIT_SILENT Sync po/docbooks with svn 2023-08-01 01:57:04 +00:00
l10n daemon script
a958516cf5 GIT_SILENT made messages (after extraction) 2023-08-01 00:45:40 +00:00