2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-22 01:51:47 +00:00

310 Commits

Author SHA1 Message Date
Albert Vaca Cintora
3f120fbea8
Move version to build.gradle.kts 2024-12-31 09:24:17 +01:00
TPJ Schikhof
fa22722498 Allow for debugging on the same device
This change builds separate debugging app with a different
ID which can be installed alongside the release version.
2024-12-27 18:20:08 +00:00
Albert Vaca Cintora
b7f3a7d868
Release 1.32.9 2024-10-21 17:16:54 +02:00
Albert Vaca Cintora
333ad876aa
Add recommended "uses-feature" based on the permissions 2024-10-13 23:14:51 +02:00
Albert Vaca Cintora
deee9cc2e2
Release 1.32.7 2024-10-08 22:41:20 +02:00
Albert Vaca Cintora
0ffd9cd9dc
Release 1.32.5 2024-10-02 08:03:10 +02:00
Albert Vaca Cintora
725b3f1d6a
Release 1.32.5 for the Play Store 2024-10-02 07:57:32 +02:00
Luca Carlon
38e713f489 Fix access to the Downloads directory on Android 10
On Android 10 the share files feature fails when the default
directory is selected. When selecting a custom directory, the
permission is explicitly asked to the user, which makes the
feature work. When the location is switched back to the default
location, the feature is again broken.

The requestLegacyExternalStorage flag brings back the old
behavior and allows to write in the directory. It should be however
ignored for Android >= 11 according to the docs:

https://developer.android.com/training/data-storage/use-cases#opt-out-in-production-app

From Android 11, the Downlods directory should not need specific permissions.
2024-10-02 04:41:39 +00:00
Albert Vaca Cintora
65a71696d5
Release 1.32.4 for Play Store without EXTERNAL STORAGE permission 2024-09-28 18:30:40 +02:00
Albert Vaca Cintora
e2aa79a252
Release 1.32.3 2024-09-28 18:26:16 +02:00
Albert Vaca Cintora
8ee135b018
Release 1.32.2 2024-09-03 12:05:55 +02:00
Albert Vaca Cintora
2343dbf144
Release 1.32.2 for Play Store without EXTERNAL STORAGE permission 2024-09-03 12:04:38 +02:00
Albert Vaca Cintora
eb6784b626
Release 1.32.1 2024-08-19 01:08:16 +02:00
Albert Vaca Cintora
aed2b64416
Release 1.32.0 2024-08-10 14:07:49 +02:00
Albert Vaca Cintora
0775a45316
Release 1.32.0 Beta
Only meant for the Play Store (because of the automatic crash reports),
so no fastlane update and no tag.
2024-07-31 12:43:45 +02:00
Midori Kochiya
96ecd620cf Add support for Direct Share targets
As described in https://developer.android.com/training/sharing/direct-share-targets.

This makes connected devices with `SharePlugin` enabled show
up in Android's Sharesheet and can be directly shared to.
2024-06-11 14:01:03 +00:00
Albert Vaca Cintora
f344586fb6
Release 1.31.1 2024-06-10 15:07:25 +02:00
Albert Vaca Cintora
d9755f8438
Remove support for Android TV launchers
This requires us to publish the app as an App Bundle, however we publish it
as an APK.
2024-06-10 15:04:34 +02:00
Albert Vaca Cintora
659ed25213
Release 1.31.0 2024-06-10 14:55:11 +02:00
Philip Cohn-Cort
769f054355
tv: Allow launching on TV devices 2024-05-12 21:28:06 +02:00
Albert Vaca Cintora
9065867c4a
Release 1.30.1 2024-04-11 23:45:56 +02:00
Albert Vaca Cintora
10543815c9
Release 1.30.0 2024-04-06 16:54:43 +02:00
Albert Vaca Cintora
3aacc07209
Remove redundant theme indications 2024-03-02 02:00:27 +01:00
Rob Emery
19ec81eec4 Working bluetooth implementation 2023-11-17 22:52:20 +00:00
Philip Cohn-Cort
548b636f32 Better device controls
## Summary

This contains some minor code quality improvements in
`RunCommandControlsProviderService`, as well as the following feature changes:

* If the device for a Device Control is reachable, clicking on the secondary
  space of the control will launch RunCommandActivity. If the device isn't
  reachable, we launch the MainActivity like usual.
* Pixel 7 and other modern Google devices can now show KDE Connect commands
  in the 'Home' quick access tile (you still have to 'add app')

## Test Plan

0. Make sure your Android OS supports Device Controls (Android 11+)
1. Choose a paired device to work with
2. Place at least one command in the Run Command list
3. Enable the command in the Device Controls screen
4. Test what happens when you click on the secondary space of the control
2023-10-23 21:58:08 +00:00
Albert Vaca Cintora
f2af39aa8e Release 1.29.0 2023-09-20 21:22:53 +02:00
Albert Vaca Cintora
2ba79a2f58 Long-tapping the "Send clipboard" quick settings tile opens the app
Instead of launching the system app settings activity.
2023-09-18 21:22:20 +00:00
Albert Vaca Cintora
3eedc88c3c Remove photo plugin
As discussed in Matrix and BUG: 474121 this plugin is confusing (because
it doesn't actually take a photo, it just launches the camera on your
phone) and its use case can be covered by taking a photo and sharing it,
which only requires a couple extra clicks.
2023-09-15 23:04:21 +00:00
Albert Vaca Cintora
f89c01ec17 Release 1.28.0 2023-09-07 09:33:14 +02:00
Albert Vaca Cintora
6b1b12a178 Bump dependencies 2023-09-06 08:08:53 +02: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
a74a76b1da Organize permissions 2023-08-21 11:47:13 +02:00
Albert Vaca Cintora
ea4e6bae7b Use AGP 8.1 locales_config autogeneration 2023-08-08 10:08:10 +02:00
Albert Vaca Cintora
a2ef4659d9 Release 1.27.1 2023-07-29 12:00:27 +02:00
Albert Vaca Cintora
49e2b2d9a2 Release 1.27.0 2023-07-16 18:15:18 +02:00
Albert Vaca Cintora
1706a4c10d Revert "Disable MouseReceiver Plugin so we don't need accessibility API"
This reverts commit 32d6a346ab1530ca89d969cb7a427db60c302d29.
2023-07-16 17:29:25 +02:00
Albert Vaca Cintora
13b5fc4550 Revert "Remove REQUEST_INSTALL_PACKAGES permission"
This reverts commit b5d9293103e40742514aead373109bf5c467b233.
2023-07-16 10:57:17 +02:00
Albert Vaca Cintora
af922a4277 Release 1.26.4 2023-07-08 00:41:42 +02:00
Albert Vaca Cintora
1c3389efa0 Do not listen for PACKAGE_REPLACED broadcasts
We already listen for MY_PACKAGE_REPLACED which is sent since API 12
2023-07-08 00:29:09 +02:00
Albert Vaca Cintora
e53338c70e Release 1.26.3 2023-07-02 23:34:46 +02:00
Albert Vaca Cintora
a31476951a Release 1.26.2 2023-06-29 10:52:37 +02:00
Albert Vaca Cintora
096cf3f5f5 Release 1.26.1 2023-06-24 15:57:21 +02:00
Albert Vaca Cintora
8438f11ef9 Release 1.26.0 2023-06-12 20:38:00 +02:00
Albert Vaca Cintora
6fc5ae66b8 Add license headers to files missing it 2023-06-05 12:21:15 +02:00
Albert Vaca Cintora
afd4219732 More code review changes 2023-06-04 17:22:34 +00:00
Albert Vaca Cintora
7d3cf9690a Rename RunCommandWidgetConfig -> RunCommandWidgetConfigActivity 2023-06-04 17:22:34 +00:00
Albert Vaca Cintora
11634b2cde Allow having widgets for more than once device
Rewrites the RunCommand widget. Now we can have different widgets for
different devices at the same time. Also removes the startService call
that could cause ForegroundServiceStartNotAllowedException on API 12+.
2023-06-04 17:22:34 +00:00
Albert Vaca Cintora
ad725e7a24 Release 1.25.0 2023-05-29 15:41:31 +02:00
Albert Vaca Cintora
ae23413971 Refactor BackgroundService
Added a new KdeConnect Application class that holds the Devices now, while
BackgroundService "only" takes care of the LinkProviders.

Since KdeConnect subclasses Application we have the guarantee that it will
exist as long as our process does, so we can use it as a singleton. This
removes the "BackgroundService.RunCommand" hack (which sent an Intent that
would awake BackgroundService in case it wasn't running already and then
call our code in a callback). This saves lots of round trips between the
system and us and makes things simpler (and stack traces useful) by making
the code sequential.

We already had an Application subclass that I moved to a new helper, which
now the KdeConnect class initializes together with all the other helpers.
2023-05-24 19:28:02 +02:00
Albert Vaca Cintora
ed0f97de1b Remove redundant supports-screens section 2023-05-10 16:57:44 +02:00