Commit Graph

1703 Commits

Author SHA1 Message Date
dankito 93de8bf252 Fixed that persistentContainer and therefore context is nil if during login screen app enters background 2022-02-07 00:18:08 +01:00
dankito 360e75426f Forgot to commit linkForegroundColor() and alignVertically() 2022-02-07 00:18:08 +01:00
dankito 5acb2353c7 Implemented setting database password in iOS 2022-02-07 00:18:08 +01:00
dankito 5c63af15a0 Added EncryptedCoreData pod to be able to encrypt CoreData database (even though currently just using a hard coded default password) 2022-02-07 00:18:08 +01:00
dankito f0271a2f85 Centralized setting passwords in setPasswords() 2022-02-07 00:18:08 +01:00
dankito 79d746a395 Injecting now AuthenticationService 2022-02-07 00:18:08 +01:00
dankito 8b2a210269 Keeping passwords now only as CharArray in memory as it may takes a long time till a String gets garbage collected 2022-02-07 00:18:08 +01:00
dankito bc853b03e3 Implemented that in case of AuthenticationType.Password as database password <user_password> + "_" + <default_password> is used 2022-02-07 00:18:08 +01:00
dankito af67f4d404 Implemented passing only userPassword to saveNewAuthenticationMethod() (makes the parameter clearer) 2022-02-07 00:18:08 +01:00
dankito 93254c1d21 Implemented persisting new password only if changed database password has been successful 2022-02-07 00:18:08 +01:00
dankito e8749385ec Implemented hiding select authentication method if password is the only option to choose 2022-02-07 00:18:08 +01:00
dankito 193e4305ca Removed injecting unused CoreDataBankingPersistence 2022-02-07 00:18:08 +01:00
dankito 49a21909ed Moved creating CoreData PersistentContainer to CoreDataBankingPersistence 2022-02-07 00:18:08 +01:00
dankito e29eead03a Using now vector drawable for add icon, could therefore remove Android Icons dependency 2022-02-07 00:18:08 +01:00
dankito 8706778906 Added default icon for accounts 2022-02-07 00:18:08 +01:00
dankito c8049ea107 Fixed that for some library setting Kotlin jvmTarget to 1.8 was needed 2022-02-07 00:18:08 +01:00
dankito eff16876b6 Fixed that using vector drawables that way is not supported on devices pre Lollipop 2022-02-07 00:18:08 +01:00
dankito 968543953a Implemented finding fallback algorithms as PBKDF2WithHmacSHA256 is only supported on newer Androids 2022-02-07 00:18:08 +01:00
dankito 2f709ed0b6 Renamed encryptedDefaultPassword to defaultPassword 2022-02-07 00:18:08 +01:00
dankito dde2ff47a4 Fixed that algorithms needed for encryption with biometric authentication are only supported on Android 6 and above (the same as with biometric authentication) 2022-02-07 00:18:08 +01:00
dankito 06101a4e57 Added AndroidManifest to fints4kBankingClient to make Gradle happy 2022-02-07 00:18:08 +01:00
dankito faf3a76734 Removed unused AndroidX lifecycle (only crashes on Android 4) 2022-02-07 00:18:08 +01:00
dankito d892e5e0ef Updated AndroidX navigation version to 2.3.0 2022-02-07 00:18:08 +01:00
dankito e69b4a9141 Fixed that OkHttp dropped Android 4 support with version 3.13 2022-02-07 00:18:08 +01:00
dankito 768d17743a Added permissions for biometric hardware (but is it actually needed?) 2022-02-07 00:18:08 +01:00
dankito 715153315e Fixed that BankingApp hasn't been derived from MultiDexApplication 2022-02-07 00:18:08 +01:00
dankito 04bf120293 Set app icon 2022-02-07 00:18:08 +01:00
dankito b564fe15c2 Implemented setting device specific biometric authentication type 2022-02-07 00:18:08 +01:00
dankito c73628539a Fixed translating shared data 2022-02-07 00:18:08 +01:00
dankito 0f16149dac Implemented setting biometric authentication prompt 2022-02-07 00:18:08 +01:00
dankito e36bb0cf33 Renamed loginWithPassword() to authenticateUserWithPassword() and loginWithBiometricAuthentication() to authenticateUserWithBiometric() 2022-02-07 00:18:08 +01:00
dankito 7047773e7b Implemented translating biometric authentication type 2022-02-07 00:18:08 +01:00
dankito bf9c0bc32b Implemented adding print option to shared data 2022-02-07 00:18:08 +01:00
dankito 4e27bffd09 Implemented encrypting default password if no app protection is set 2022-02-07 00:18:08 +01:00
dankito 12d6c5a430 Fixed that if persisting newly added account fails callback never gets called and AddAccountDialog therefore is stuck forever 2022-02-07 00:18:08 +01:00
dankito 2cab245600 Implemented encrypting biometric password 2022-02-07 00:18:08 +01:00
dankito 32c71fcb39 Implemented hashing user password with bcrypt 2022-02-07 00:18:08 +01:00
dankito d65b766655 Disabling login button during password check and database decryption 2022-02-07 00:18:08 +01:00
dankito e345d6d6cb Removed unnecessary isRemoveAppProtectionLayout parameter 2022-02-07 00:18:08 +01:00
dankito 26baf222d6 Implemented logging in / setting authentication method when pressing enter 2022-02-07 00:18:08 +01:00
dankito 0a6fa8e01a Implemented encrypting Room database, but storing password just in plain text yet 2022-02-07 00:18:08 +01:00
dankito 20c32dbd7e Implemented saving and restoring authentication type 2022-02-07 00:18:08 +01:00
dankito 5f35cf7b23 Fixed that listeners get called off UI thread 2022-02-07 00:18:08 +01:00
dankito b82d986da2 Added biometric authentication dialog / prompt 2022-02-07 00:18:08 +01:00
dankito 269ad0bb33 Mapping accounts named 'Tagesgeld' to Sparkonto as according to Wikipedia some direct banks offer 'Tagesgeldkonten' as a modern version of Sparkonto 2022-02-07 00:18:08 +01:00
dankito 3d3d143023 Added code "0". Even though it's not stated in the docs, but Sparkasse gives some Girokonten the type '0'. 2022-02-07 00:18:08 +01:00
dankito f76603a6ac Fixed that accounts for which types we think we don't support them, but which support to retrieve balance or transactions anyway (e.g. Sparkonten also seem to support HKSAL and HKKAZ, but i can't tell for sure) are now also evaluated as supported 2022-02-07 00:18:08 +01:00
dankito f6f28890a7 Implemented that login name text field gets focused when a bank has been selected 2022-02-07 00:18:08 +01:00
dankito c2a9f9f44a Not focusing recipient name text field on start anymore, just displays 'Please enter recipient name' error message on iOS 14 2022-02-07 00:18:08 +01:00
dankito de46d60416 Fixed setting focus on start on iOS 14 2022-02-07 00:18:08 +01:00