1
0
mirror of https://github.com/danog/termux-api.git synced 2024-11-30 04:19:20 +01:00
Commit Graph

277 Commits

Author SHA1 Message Date
285584a3b3
Update build.gradle 2020-09-30 21:11:35 +02:00
f9041daf6b
Update to BiometricManager 2020-09-30 19:50:03 +02:00
Leonid Pliushch
67954de363
termux-telephony-cellinfo: return empty array if not allowed to read Cell Info
Fixes https://github.com/termux/termux-api/issues/363.

On Android 10/Q we should be able to get a cached CellInfo as
stated in https://developer.android.com/reference/android/telephony/TelephonyManager#getAllCellInfo().
We may try to use that later to recover termux-telephony-cellinfo on SDK 29.
2020-09-30 19:34:07 +03:00
Leonid Pliushch
19229ad1ac
termux-telephony-deviceinfo: SDK 29 compatibility
Fixes https://github.com/termux/termux-api/issues/362.
2020-09-30 18:31:23 +03:00
AbdullahM0hamed
61cba9390e Replace getDeviceId with non-deprecated methods 2020-09-30 18:01:13 +03:00
Fredrik Fornwall
938cdcae10 Update gradle version 2020-09-29 15:58:39 +02:00
Leonid Pliushch
052f993043
version 0.44 2020-09-28 03:48:47 +03:00
AbdullahM0hamed
9d1bc33e1e Allow positive/negative symbols and decimals in numeric dialog 2020-09-28 03:47:50 +03:00
AbdullahM0hamed
4b456561c5 Add Dark Theme 2020-09-28 03:47:04 +03:00
AbdullahM0hamed
c698354b76 DownloadAPI: add ability to set download location 2020-08-02 11:46:12 +02:00
Alessandro Caputo
41bedbf6be
Bump version to 0.43 2020-04-26 10:02:48 +02:00
Yuri Mataev
e8350c8061 Add Google Material Icons to drawable collection 2020-04-26 10:01:11 +02:00
Yuri Mataev
b261304a1b Add option to change status bar icon for notifications 2020-04-26 10:01:11 +02:00
Alessandro Caputo
02d46bf1c1 Bump version to 0.42 2020-03-25 09:49:46 +01:00
Akira
6a8d97bd4c fix notification api piority on Android version>=8
On Android v8 and later, changing priority needs NotificationChannel configuration.
2020-03-11 17:46:01 +01:00
Toon Schoenmakers
43dec9b13a Also added support for reading out BigTextStyle and InboxStyle notifications 2020-02-17 20:34:50 +01:00
Toon Schoenmakers
d2eec27b86 Include when a notification was posted in the notification-list output 2020-02-17 20:34:50 +01:00
Fredrik Fornwall
d1d6ca6694 Update gradle configuration 2020-02-15 23:56:17 +01:00
Alessandro Caputo
443fc75dc6 Bump version to 0.41 2020-02-15 18:44:01 +01:00
AbdullahM0hamed
6eaff65ced Update Permissions to allow installing/uninstalling of apps
This permission should be used along with: https://github.com/termux/termux-api-package/pull/94 to provide the ability to install/uninstall apps.

Tested on Galaxy J701F running android 8.1.0.
2020-02-09 19:57:22 +01:00
Leonid Plyushch
d5518f3d59
update readme 2020-02-07 15:51:23 +02:00
Leonid Plyushch
4567369968
update issue templates 2020-02-07 15:13:37 +02:00
Leonid Plyushch
f9cc898be8
CI: switch to Github Actions 2020-02-07 14:19:10 +02:00
AbdullahM0hamed
00eeb0948a Add ability to have commas as characters within items
I propose that the ability to have escaped commas in items.

This would be useful in certain situations, such as when dealing with titles (some titles contain commas), and this edit would allow the user to escape commas in comma-separated lists, by passing: `-v 'item 1, item 1\, part 2` or "item 1, item 1\\, part 2"` as an argument to termux-dialog.
2020-01-26 16:57:44 +01:00
Ben Moran
51e6a4b14a NotificationAPI - remove notification on receiving non-ongoing Direct Reply 2020-01-12 20:30:02 +01:00
Ben Moran
4e49c391f6 NotificationAPI - Add support for Direct Reply actions 2020-01-12 20:30:02 +01:00
Ben Moran
47dc9d94a2 NotificationAPI - migrate to NotificationCompat 2020-01-12 20:30:02 +01:00
pim
dfbfb178ca JobSchedulerApi: Support persisted jobs, fixes #316 2020-01-04 10:57:13 +01:00
Leonid Plyushch
0eee610566
bump minimal sdk version to 24
We no longer update Android 5 branch of Termux packages.

Since future versions of Termux:API will eventually be
out of sync with corresponding package in Android 5
repositories, we need to prevent installation of newer
versions of add-on on devices with Android OS lower
than 7.0.
2020-01-02 00:57:18 +02:00
CarsonThompson
5a437e5149 termux-sensor: change sensor name matching behavior
so that when two sensors named "Sensor Uncalibrated" and "Sensor" exist, using `-s Sensor` correctly selects the latter.

Fixes #295
2019-10-25 23:58:59 +02:00
Leonid Plyushch
b1739b7a7d
update readme 2019-10-07 15:19:42 +03:00
Leonid Plyushch
f47e9fe595
CI: development builds are now signed with publically-shared key
This commit adds keystore which is shared with community. People freely can
use it for creating own Termux app and plugin builds. However, builds signed
with such keystore cannot be proven as official.

Signed-off-by: Leonid Plyushch <leonid.plyushch@gmail.com>
2019-10-07 14:45:48 +03:00
Alessandro Caputo
608fb81d06 Bump version to 0.38 2019-10-06 16:44:17 +02:00
Alessandro Caputo
10320ac130
Merge pull request #294 from bndeff/usbapi
Add a USB API compatible with libusb
2019-10-06 16:41:18 +02:00
Boundary Effect
8294e2d58f Add a USB API compatible with libusb 2019-10-06 10:23:29 +02:00
Leonid Plyushch
3149537190
CI: remove tests task
Application doesn't have tests.
2019-10-05 00:53:11 +03:00
Leonid Plyushch
d256c8dd91
update readme 2019-10-05 00:19:45 +03:00
Leonid Plyushch
e599df0405
CI: add sample keystore 2019-10-05 00:15:32 +03:00
Leonid Plyushch
18c955f325
CI: add configuration for Cirrus 2019-10-04 23:54:21 +03:00
Leonid Plyushch
01c11c7b34
use BatteryManager to obtain the current
Fix compilation error.
2019-10-04 23:54:07 +03:00
Wetitpig
e7b7309a8d Battery Current in μA (#293) 2019-09-24 19:12:55 +03:00
d75295d902 Fix fingerprint APIs on android 9 and switch to android X (#283) 2019-09-24 18:45:28 +03:00
Fredrik Fornwall
0a910cf58f Bump version to 0.37
Fixes an F-Droid build error:

Git checkout of 'v0.${versionCode}' failed
detail begin

error: pathspec 'v0.${versionCode}' did not match any file(s) known to git.
detail end
2019-09-11 19:47:05 +02:00
Alessandro Caputo
66ac3cd40d Bump version to 0.36 2019-08-25 21:38:46 +02:00
Alessandro Caputo
ffa002d85f NotificationAPI: set default alertOnce to false
Because the default should be false, and in termux-api-package the
--alert-once flag can be used to set it to true.

Thanks to AgentConDier for spotting this.

Fixes termux/termux-api-package#83
2019-08-25 20:39:33 +02:00
Alessandro Caputo
3acb5d449e Set intent flags when asking for permissions
Fixes #285 and #286
2019-08-25 10:50:05 +02:00
Alessandro Caputo
4dc5a210e0 Bump version to 0.35 2019-08-14 07:47:55 +02:00
Fredrik Fornwall
62dbc0f7b9 DRY in gradle app version specifier 2019-08-13 23:08:38 +02:00
Fredrik Fornwall
5fb683df97 Check Android version before accessing method
Also rename "vertical accuracy" to "vertical_accuracy" for consistency
with other JSON fields.
2019-08-13 22:57:02 +02:00
Fredrik Fornwall
2efe77fd67 Minor formatting 2019-08-13 22:56:49 +02:00