Commit Graph

358 Commits

Author SHA1 Message Date
Adam Velebil
169f2eba40
add autoVerify 2023-01-03 13:59:04 +01:00
Adam Velebil
499108bc77
add NFC Discovery Sound toggle 2023-01-03 13:10:03 +01:00
Adam Velebil
7bdda4d998
Bump deps 2022-12-19 16:18:23 +01:00
Adam Velebil
cf76499bf0
Merge PR #855. 2022-11-30 16:09:41 +01:00
Adam Velebil
02e60e2616
bump kotlin-gradle-plugin to 1.7.22 2022-11-30 09:27:02 +01:00
Adam Velebil
b9fb86326e
create scripts 2022-11-29 16:20:19 +01:00
Adam Velebil
a908232744
open app when YK is connected over USB 2022-11-29 10:51:02 +01:00
Dain Nilsson
71382634b5
Merge PR #852. 2022-11-28 15:59:35 +01:00
Adam Velebil
2903aff021
update versions 2022-11-24 08:44:25 +01:00
Adam Velebil
90152f5da2
bump flutter and android dependencies 2022-11-23 17:18:00 +01:00
Adam Velebil
3bc8304f34 handle locked oath sessions when refreshing 2022-11-21 15:15:20 +01:00
Adam Velebil
3e335db55f
select OTP applet before reading device info 2022-11-17 14:10:08 +01:00
Adam Velebil
033b609fa6
relax Portrait requirement 2022-11-08 17:41:53 +01:00
Adam Velebil
3d36f83b3e
update camera's uses-permissions/features + bump 2022-11-08 17:05:02 +01:00
Adam Velebil
5ad830f191
Make camera optional on Android 2022-11-08 11:50:36 +01:00
Adam Velebil
10b5d1552c
fix ArrayIndexOutOfBoundsException 2022-11-03 12:25:25 +01:00
Adam Velebil
3b1ba9b2b6
consider image plane's rowStride for analysis 2022-11-03 08:58:21 +01:00
Adam Velebil
f601652f94
add verbose logs 2022-11-02 14:12:09 +01:00
Adam Velebil
79cd8dd56c
don't throw when trying to refresh nfc creds 2022-11-01 10:31:08 +01:00
Adam Velebil
004c9cfd9a
manually add zxingcpp license information 2022-10-25 16:08:52 +02:00
Adam Velebil
68fc022e44
Merge PR #265. 2022-10-21 11:36:17 +02:00
Adam Velebil
d8bb754430
refactor preconditions with require() 2022-10-20 17:14:30 +02:00
Adam Velebil
a7088d9266
mock SDK_INT with reflection 2022-10-20 16:10:15 +02:00
Adam Velebil
a99a110456
exclude NFC supported capabs if none exist 2022-10-19 15:54:55 +02:00
Adam Velebil
3bf2056694
add monochrome adaptive icon 2022-10-17 14:10:54 +02:00
Adam Velebil
a424cb592d
refactor deprecated getParcelableFoo 2022-10-07 16:23:12 +02:00
Adam Velebil
8e0a7ad50a
add license to new file 2022-10-06 13:45:04 +02:00
Adam Velebil
dbb516f562
remove reflection 2022-10-06 12:22:41 +02:00
Adam Velebil
e1affece7a
Merge branch 'main' into adamve/android-api21 2022-10-06 10:04:21 +02:00
Adam Velebil
bae9c8c8e3
fix unit test dependency on SDK_VERSION 2022-10-05 17:16:17 +02:00
Adam Velebil
9b65a23cb9
API 21 fixes 2022-10-05 12:44:47 +02:00
Adam Velebil
0cd26d2097
tests cleanup 2022-10-05 12:44:18 +02:00
Adam Velebil
643221e75e
fix code style 2022-10-05 12:43:20 +02:00
Adam Velebil
9b8d3a845c
bumps 2022-10-05 12:43:00 +02:00
Adam Velebil
dbecb1f581
delete unused class 2022-10-05 12:42:24 +02:00
Adam Velebil
e38767bfe4
update kotlin sources 2022-10-04 15:47:26 +02:00
Adam Velebil
e4b9b21acf
use kotlin files 2022-10-04 15:32:40 +02:00
Adam Velebil
6eb5ad4654
update package 2022-10-04 15:25:41 +02:00
Adam Velebil
464c0fc44c
add licenses to android sources 2022-10-04 14:28:39 +02:00
Adam Velebil
f472097a9f
license notice update in source files 2022-10-04 12:12:54 +02:00
Adam Velebil
5d50d8e864
implement handler and method channel 2022-09-30 15:52:50 +02:00
Adam Velebil
f99742b588
add intent filter 2022-09-30 13:56:36 +02:00
Adam Velebil
56eb36b509
Merge PR #229. 2022-09-30 11:00:00 +02:00
Adam Velebil
dd123adc07
Merge PR #233. 2022-09-30 10:40:53 +02:00
Adam Velebil
56f26627d2
Mrg 'main' into adamve/android-sdkversion-handling 2022-09-30 10:25:39 +02:00
Adam Velebil
67650bf956
use existing constant 2022-09-30 10:20:12 +02:00
Adam Velebil
84f9147aed
use intent filters for USB only if app is resumed 2022-09-29 16:52:33 +02:00
Adam Velebil
9d92d2e1ef
only start discovery if user gave permissions 2022-09-28 17:10:36 +02:00
Adam Velebil
9b08b1f836
intent driven USB YubiKey discovery 2022-09-28 16:36:17 +02:00
Adam Velebil
380d54df26
remove ; 2022-09-23 11:41:51 +02:00
Adam Velebil
bf9b85f069
consider not touching YK as cancellation 2022-09-23 11:41:07 +02:00
Dain Nilsson
2e9a51d720
Migrate to Flutter 3.3.2 2022-09-23 10:42:29 +02:00
Adam Velebil
8af168bf73
Mrg 'main' into adamve/android-sdkversion-handling 2022-09-22 17:00:49 +02:00
Adam Velebil
1d99ce3fe6
handle features dependent on SDK version 2022-09-21 15:29:34 +02:00
Adam Velebil
0cb52fbbd6
update version 2022-09-19 11:51:09 +02:00
Adam Velebil
d40a2b6bd4
fix to launch theme 2022-09-16 15:06:31 +02:00
Adam Velebil
c7f3aa4557
fix theming for different apis !forever! 2022-09-16 11:51:15 +02:00
Adam Velebil
4b6499b3a6
Merge 'release/6.0.0-beta.2' to this 2022-09-16 10:52:45 +02:00
Adam Velebil
8e766fd7f9
pause and resume QR scanner 2022-09-15 17:46:22 +02:00
Adam Velebil
4584a48621
remove semicolon 2022-09-15 14:55:47 +02:00
Adam Velebil
02222d3764
rename from imageAnalyzer to imageAnalysis 2022-09-15 14:41:36 +02:00
Adam Velebil
26caad52f1
code style 2022-09-15 14:36:54 +02:00
Adam Velebil
d4edf98b73
use QR code only MultiFormatReader 2022-09-15 14:36:20 +02:00
Adam Velebil
6fee72490a
clear analyzer when QR code scanner closes 2022-09-15 14:35:14 +02:00
Adam Velebil
516472402c
use DayNight theming 2022-09-15 11:29:38 +02:00
Dain Nilsson
c1643dd012
Check for duplicate codes when adding without a key. 2022-09-14 16:40:49 +02:00
Dain Nilsson
84f0fe162f
WIP: Add Android happy path. 2022-09-14 16:07:32 +02:00
Adam Velebil
ff7871dc95
remove 'Preview' from app label 2022-09-14 09:53:40 +02:00
Adam Velebil
ac461eb04b
support ACTION_RUN for debug builds 2022-09-14 09:44:29 +02:00
Adam Velebil
9f32368fd0
remove not wanted line 2022-09-09 11:45:14 +02:00
Adam Velebil
f651967311
update SDK versions 2022-09-09 11:44:56 +02:00
Adam Velebil
62b2670892
use correct app id 2022-09-09 11:44:19 +02:00
Dain Nilsson
c393adbc29
Rename hideAppThumbnail to match Flutter, and verify that the flag is set. 2022-09-08 13:34:49 +02:00
Dain Nilsson
4e3dbd249e
Merge PR #207. 2022-09-08 09:24:38 +02:00
Adam Velebil
24e64d84bd
Merge PR #206. 2022-09-08 08:27:57 +02:00
Adam Velebil
b1ec64689a
hide app thumbnails setting 2022-09-07 19:28:22 +02:00
Dain Nilsson
10f86dde8b
Fix readig DeviceInfo from NEO over NFC. 2022-09-06 19:49:49 +02:00
Adam Velebil
274bcaba6e
remove FLAG_SECURE temporarily 2022-09-06 14:58:06 +02:00
Adam Velebil
f5541b4666
make minumum changes to original 2022-09-06 09:52:32 +02:00
Adam Velebil
ff6fc85dc3
simplify method 2022-09-06 09:51:06 +02:00
Adam Velebil
747013bdde
avoid ambigous names 2022-09-06 09:40:11 +02:00
Adam Velebil
404245fd51
use calculateCodes() instead getCredentials() 2022-09-06 09:39:14 +02:00
Adam Velebil
98dc195184
Merge PR #186. 2022-09-05 14:53:20 +02:00
Adam Velebil
3614f6677c
fix kotlin warnings 2022-09-02 16:50:03 +02:00
Adam Velebil
9ce634748d
use of _ in kotlin 2022-09-02 15:26:58 +02:00
Adam Velebil
bcdde8ca43
review fix + unit tests 2022-09-02 14:28:48 +02:00
Adam Velebil
9c9090d00f
Merge 'main' into fix/YADESK-788-SKY-over-USB 2022-09-02 12:14:22 +02:00
Adam Velebil
5477a3ca0a
Merge PR #190. 2022-09-02 12:04:33 +02:00
Adam Velebil
d278f268c8
Merge PR #188. 2022-09-02 11:59:27 +02:00
Adam Velebil
d5beca16fc
copy license files to flutter assets during build 2022-09-01 17:42:59 +02:00
Adam Velebil
16595f4e52
Fix issue with thin green border around app 2022-09-01 09:22:06 +02:00
Adam Velebil
7ebde97abb
Merge 'main' into fix/YADESK-788-SKY-over-USB 2022-09-01 09:07:50 +02:00
Adam Velebil
7629dc996c
Merge branch 'main' into adam/oath-nfc 2022-09-01 09:01:37 +02:00
Adam Velebil
51041dc9ad
handle lifecycle changes in OathManager 2022-09-01 07:48:18 +02:00
Adam Velebil
eec94421b6
Handle dependency licenses on Android 2022-08-31 15:49:43 +02:00
Adam Velebil
4b95be96cf
fixed validation of YubiKey version 2022-08-29 13:20:39 +02:00
Adam Velebil
f51bba71cc
fix to putKey 2022-08-29 09:29:32 +02:00
Adam Velebil
75d95301b8
cleanup nfc data after delay 2022-08-26 16:26:30 +02:00
Adam Velebil
94a406d025
remove extra param added by mistake 2022-08-25 18:02:53 +02:00
Adam Velebil
7d20d8bc96
use legacy key alias for keystore aliases 2022-08-25 17:50:22 +02:00
Adam Velebil
c32ab802ea
get SKY info from usbDevice 2022-08-25 13:54:34 +02:00
Adam Velebil
dc08a471a1
fix flow in getDeviceInfo 2022-08-25 08:47:23 +02:00
Dain Nilsson
a99c953c96
Set correct type for property. 2022-08-25 08:28:34 +02:00
Adam Velebil
42c4445a47
simplify code copying 2022-08-24 17:34:54 +02:00
Adam Velebil
7271f76cbf
fix copying of touch-required credential's codes 2022-08-24 16:10:14 +02:00
Dain Nilsson
70fb395546
Android: Fix OATH commands over USB when access code is set. 2022-08-24 14:05:15 +02:00
Adam Velebil
dc9fb445c9
fix closing tap request dialog 2022-08-24 10:16:43 +02:00
Dain Nilsson
5d74e53ad6
Fix review comment issues. 2022-08-22 17:18:47 +02:00
Dain Nilsson
f52fe40b01
Handle AppConextManager more robustly. 2022-08-22 17:17:23 +02:00
Dain Nilsson
e60ded1347
Make "open app on NDEF" default to true. 2022-08-22 17:17:22 +02:00
Dain Nilsson
1f0103b9b9
Android: Drop LiveData for YubiKey devices. 2022-08-22 17:17:21 +02:00
Dain Nilsson
e0696da422
Android: Refactor OATH state management. 2022-08-22 17:17:20 +02:00
Dain Nilsson
8e08a72462
Refactor DialogManager and its usage in useOathSession. 2022-08-17 15:51:07 +02:00
Dain Nilsson
50210e371b
Update OATH model on reset.
There are other places where this doesn't happen which results in
different states in Flutter VS in Android, and these should probably be
fixed. This happens in set/unset password, and when unlocking.
2022-08-17 10:54:34 +02:00
Dain Nilsson
02bae71cc1
Bump kotlin and gradle versions. 2022-08-17 10:54:33 +02:00
Dain Nilsson
f6043c868a
Remove Pigeon. 2022-08-17 10:54:29 +02:00
Dain Nilsson
c0d082ea0c
Fix broken test. 2022-08-12 10:25:48 +02:00
Dain Nilsson
0ba4799f52
Add "bypass NFC touch" setting. 2022-08-12 09:56:08 +02:00
Adam Velebil
6080d2985e
Merge PR #180. 2022-08-09 16:27:49 +02:00
Adam Velebil
4e19e2aed6
renamed from yotp to ndef 2022-08-09 15:56:33 +02:00
Adam Velebil
1a8eaa2e16
updates to ndef processing 2022-08-09 15:53:35 +02:00
Adam Velebil
cd51e925eb
only detect NDEF for my.yubico.com host 2022-08-09 08:57:16 +02:00
Adam Velebil
ae56aa8aee
restart nfc when camera is closed 2022-08-09 07:44:51 +02:00
Adam Velebil
04fa204bc3
fix kotlin code style 2022-08-08 15:58:47 +02:00
Adam Velebil
ebccd09f66
Merge branch 'main' into fix/YADESK-629-add-account-nfc 2022-08-08 15:44:14 +02:00
Adam Velebil
e2a717d0aa
fix compile error 2022-08-05 14:09:19 +02:00
Adam Velebil
035fbf7545
better Camera permissions handling 2022-08-05 14:04:04 +02:00
Adam Velebil
3b628938d7
yubiclip static passwords, settings improvements 2022-08-04 11:55:19 +02:00
Adam Velebil
4e7ad56634
use preview app id and app name 2022-08-04 08:23:07 +02:00
Adam Velebil
a868782a56
update OATH codes after open on NFC tap 2022-08-03 20:08:24 +02:00
Adam Velebil
b1e6dc02fc
moved file to correct directory 2022-08-03 15:56:30 +02:00
Adam Velebil
ff23ed9a53
implement yubiclip fnc, add Android settings 2022-08-03 15:21:39 +02:00
Adam Velebil
95763c1d27
don't allow running in split-window mode 2022-08-01 16:08:06 +02:00
Adam Velebil
d064fe357f
workaround - restart nfc discovery for add account 2022-07-28 15:12:11 +02:00
Adam Velebil
0b68676371
Merge branch 'main' into fix/android-nfc 2022-07-22 10:32:30 +02:00
Adam Velebil
3b75f5ce27
fix yubikit-android dependency 2022-07-22 10:08:31 +02:00
Adam Velebil
902eb6718d
Merge branch 'main' into fix/android-nfc 2022-07-21 17:24:35 +02:00
Adam Velebil
56da20b442
regenerate pigeon files 2022-07-21 16:38:20 +02:00
Adam Velebil
00101b21c7
regenerate pigeons 2022-06-20 14:33:16 +02:00
Adam Velebil
1968804226
use CancellationException 2022-06-20 09:47:34 +02:00
Adam Velebil
007072943b
Use YubiKit branch fix/2.1.0a1-fixes-1
This reverts commit 780791d126.
2022-06-16 16:39:34 +02:00
Adam Velebil
b0a405377a
Don't throw on missing pending action 2022-06-10 17:29:13 +02:00
Adam Velebil
b1425a5285
YADESK-602 android and nfc exception handling 2022-06-10 12:23:52 +02:00
Adam Velebil
6d5931956c
YADESK-699 correct data in acc dlg after rename 2022-06-10 08:37:31 +02:00
Adam Velebil
ff404ff2ee
use FLAG_SECURE only in Release builds 2022-06-07 08:28:17 +02:00
Adam Velebil
173ca6627b
YADESK-690 FLAG_SECURE 2022-06-03 17:14:43 +02:00
Adam Velebil
58f4430b22
updated unit tests 2022-06-03 12:09:19 +02:00
Adam Velebil
9697c5a3f4
remove default ctor param values from Session 2022-06-03 11:02:29 +02:00
Adam Velebil
5380d5a7f5
updated data types and added yubikit helpers 2022-06-02 16:57:58 +02:00
Adam Velebil
fa5ebe46e6
Merge branch 'main' into fix/YADESK-688-SKY-crashes 2022-06-02 14:11:14 +02:00