Adam Velebil
3cfdc56dad
add landscape support for tablet devices
2023-03-06 09:17:15 +01:00
Adam Velebil
dcfdd1f757
Merge PR #984 .
2023-03-06 08:52:59 +01:00
Adam Velebil
ba46f67c69
correctly use DeviceInfo.getSupportedCapabilities
2023-03-03 13:38:35 +01:00
Adam Velebil
2f150c5c1e
Ignore pending action on USB connect
2023-03-01 15:08:59 +01:00
Adam Velebil
1a9c07e488
bump
2023-03-01 09:16:33 +01:00
Adam Velebil
7de9351d21
Merge branch 'release/6.1.1' into merge/release/6.1.1
2023-02-13 15:51:21 +01:00
Adam Velebil
cc4eace015
fetch accounts after unlock only on USB
2023-02-10 10:33:35 +01:00
Adam Velebil
8ec4fbc103
improve experience of USB YubiKeys on Android
2023-02-10 09:31:45 +01:00
Adam Velebil
ec948d06f9
fix camera related crashes on Chromebook
2023-02-10 09:30:14 +01:00
Adam Velebil
1ae5704a28
fix to issue #899
2023-02-10 09:23:40 +01:00
Adam Velebil
befaa85248
Merge PR #950 .
2023-02-10 08:55:39 +01:00
Adam Velebil
2ffd9ea8a8
Merge PR #956 .
2023-02-10 08:47:40 +01:00
Adam Velebil
25fe77f721
bump deps
2023-02-08 17:44:14 +01:00
Adam Velebil
acd35c6c78
don't call nfc methods on null nfcAdapter
2023-02-08 17:21:59 +01:00
Adam Velebil
0a19e1cdbe
handle state of Nfc adapter
2023-02-08 17:12:49 +01:00
Adam Velebil
ecb18c2f85
Stop discovery on app pause.
2023-02-08 10:05:10 +01:00
Adam Velebil
a78855e2ac
support only for lens facing back cameras
2023-02-07 14:42:47 +01:00
Adam Velebil
26d0635c92
separate yubikit and app's types
2023-01-27 11:27:23 +01:00
Adam Velebil
21085b5637
Merge PR #930 .
2023-01-26 17:49:13 +01:00
Adam Velebil
4f9aee1f7a
update comments
2023-01-26 17:35:33 +01:00
Adam Velebil
567ae5ac60
refactor CompatUtil
2023-01-26 17:21:04 +01:00
Adam Velebil
4149f99f88
remove Any?
2023-01-26 16:12:53 +01:00
Adam Velebil
7f0be1049a
support nullable CompatValues
2023-01-26 16:00:19 +01:00
Adam Velebil
a97c09cc85
remove package from profile manifest
2023-01-25 14:59:11 +01:00
Adam Velebil
b217a17250
add namespace to build.gradle
2023-01-25 14:13:55 +01:00
Adam Velebil
375f321036
documentation update
2023-01-25 13:55:31 +01:00
Adam Velebil
669fcca0d2
replace SdkVersion with CompatUtil
2023-01-25 13:53:12 +01:00
Adam Velebil
95c50c2682
remove reflection in tests
2023-01-25 13:53:12 +01:00
Adam Velebil
0c87036519
add metadata to activity alias
2023-01-23 16:29:57 +01:00
Adam Velebil
b0f79a334c
handle unrecognized devices
2023-01-20 13:21:30 +01:00
Adam Velebil
022e1e93ce
avoid using default arguments, update tests
2023-01-19 16:35:28 +01:00
Adam Velebil
834de1aa63
fix compile errors
2023-01-19 15:12:56 +01:00
Adam Velebil
8e0550b0cc
update types, add tests
2023-01-19 14:57:25 +01:00
Adam Velebil
bc4a9cce57
Merge PR #904 .
2023-01-13 17:14:39 +01:00
Adam Velebil
9c1217808c
Merge PR #901 .
2023-01-13 17:04:10 +01:00
Adam Velebil
2cc3ede286
only refresh when lifecycle state is resumed
2023-01-13 10:11:14 +01:00
Adam Velebil
3dde829cd2
update copy, add subtitle
2023-01-10 11:44:43 +01:00
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
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
5ad830f191
Make camera optional on Android
2022-11-08 11:50:36 +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
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
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
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
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
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
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
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
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
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
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
Adam Velebil
9fae52b48b
[Android] add Version to OATH session
2022-06-02 09:07:17 +02:00
Adam Velebil
8b8cdf40bb
prevent crashes by catching exceptions
2022-05-13 16:46:50 +02:00
Dain Nilsson
0132cad725
Specify version with set-version.py.
2022-05-13 15:59:25 +02:00
Adam Velebil
24615275f6
Merge 'main' into fix/YADESK-637-refresh-creds
2022-05-12 12:03:50 +02:00
Adam Velebil
14bd9b6182
regenerate pigeon
2022-05-12 11:06:51 +02:00
Adam Velebil
9b6cc3f622
avoid pending actions when using usb
2022-05-11 17:37:51 +02:00
Adam Velebil
64bf0bc6d4
Merge 'main' into fix/YADESK-637-refresh-creds
2022-05-11 16:12:17 +02:00
Adam Velebil
93a106bed0
fix log buffering
2022-05-11 16:01:53 +02:00
Adam Velebil
89d632390a
implemented getLogs on Android
2022-05-11 15:47:35 +02:00
Adam Velebil
1b08203181
simpler call to Log.log
2022-05-11 14:17:08 +02:00
Adam Velebil
a5cfc96d6f
separate Flutter and Android logging
2022-05-11 14:02:31 +02:00
Dain Nilsson
be652a9f9a
Android: Add 10s to time for manually calculated codes or NFC.
2022-05-10 12:38:02 +02:00
Adam Velebil
54d6c96e50
YADESK-687 update model properly
2022-05-10 08:42:35 +02:00
Adam Velebil
a74989cd5e
report invalid log levels
2022-05-09 17:15:16 +02:00
Adam Velebil
3807d2650b
fix logLevel parsing logic
2022-05-09 16:11:47 +02:00
Adam Velebil
e8b951d838
unify message format with flutter
2022-05-09 15:32:22 +02:00
Adam Velebil
b0a1d16012
avoid depending on flutter log level value
2022-05-09 15:31:13 +02:00
Adam Velebil
99708c99ef
TAG for logs
2022-05-09 10:12:26 +02:00
Adam Velebil
51b8a124cf
add TAG parameter to FlutterLog calls
2022-05-09 08:46:59 +02:00
Adam Velebil
9be38a1b23
redirect logging to native logger
2022-05-09 08:32:44 +02:00
Adam Velebil
8328f76b46
Use custom flutter LogLevels from Android
2022-05-06 17:45:34 +02:00
Adam Velebil
153d1fce3a
throw on illegal oath type
2022-05-06 14:44:28 +02:00
Adam Velebil
0a65ad6a73
serialize model credentials as List
2022-05-06 14:27:33 +02:00
Adam Velebil
b7ee31c70c
fix typo
2022-05-05 17:21:13 +02:00
Adam Velebil
ab6208f3f5
style fixes
2022-05-05 17:16:38 +02:00
Adam Velebil
8e4d8f2c13
updated unit tests
2022-05-05 16:23:09 +02:00
Adam Velebil
1d65334072
use kotlinx-serialization with OATH Model
2022-05-05 13:56:08 +02:00
Adam Velebil
054cbb200a
YADESK-616 add Oath session model
2022-05-03 14:25:55 +02:00
Adam Velebil
acfc93da31
split view model
2022-04-29 17:41:42 +02:00
Adam Velebil
8513bf9069
AppContext separated from viewmodel
2022-04-29 10:29:35 +02:00
Adam Velebil
320a2d6650
oath package
2022-04-29 08:02:18 +02:00
Adam Velebil
041f9c49a0
logger example
2022-04-13 15:26:32 +02:00
Adam Velebil
93ba22cf64
bump version
2022-04-08 14:21:09 +02:00
Adam Velebil
c161ca14d8
Merge branch 'main' into fix/android-a2-3
2022-04-08 10:00:46 +02:00
Adam Velebil
82f77d7f28
YADESK-628
2022-04-08 08:54:12 +02:00
Adam Velebil
68b47bd1c7
YADESK-613 - don't crash when SKY is usb connected
2022-04-07 15:32:56 +02:00
Adam Velebil
83964de603
add initial proguard file
2022-04-07 14:18:14 +02:00
Adam Velebil
411d744537
YADESK-630 add account
2022-04-07 10:41:38 +02:00
Adam Velebil
52123644a7
YADESK-624 refresh on OATH session reset
2022-04-07 08:57:32 +02:00