Vincent Brison
de3dbf4565
Bump previous release to retrigger release
2021-11-22 14:12:08 +01:00
Mateusz Armatys
bc4ae3163e
Version and changelog
2021-11-22 11:11:13 +01:00
Mateusz Armatys
f0bee56b9f
Put all API error codes in `ResponseCodes` class
2021-11-22 11:11:12 +01:00
Mateusz Armatys
4d14921849
Bump versions for libraries that use `presentation` module
2021-11-16 16:10:58 +01:00
Vincent Brison
4af3db82f4
Fix crash on billing Activity
...
Rename BillingViewModel to BillingViewModelHelper. Make newly created BillingViewModel and PaymentOptionViewModel use BillingViewModelHelper. Because of how injection works one view model can not be injected in a second (causing the initial crash). Instead compose both view model by a third one (base).
2021-10-26 14:08:50 +02:00
Vincent Brison
84d01a432f
BillingViewModel.kt used as composition instead of inheritance in PaymentOptionsViewModel.kt
...
Allow correct usage of mockk verify and then library update.
2021-10-22 14:10:31 +02:00
Vincent Brison
b2a380f78d
Bump versions
2021-10-19 11:39:45 +02:00
Vincent Brison
f3fb0d8a66
Remove databinding
...
Disable databinding on account-manager module
Disable databinding on auth module
Disable databinding on coreexample module
Disable databinding on country module
Disable databinding on human-verification module
Disable databinding on payment module
Disable databinding on plan module
Disable databinding on presentation module
Disable databinding on user-settings module
2021-10-19 11:34:00 +02:00
Vincent Brison
2a70a78417
Migrate activities to viewbinding
2021-10-19 11:24:52 +02:00
dkadrikj
3e1f0a3c56
Bump version.
...
Add CHANGELOG.md.
2021-10-15 13:56:26 +02:00
dkadrikj
096a613acc
Refactor plan name logic.
...
Clarify some ambiguity.
Fix potential bugs.
2021-10-15 13:56:26 +02:00
dkadrikj
1ca9c5ddfa
Integrate latest plan api changes.
2021-10-15 11:31:36 +00:00
Vincent Brison
eae528716f
Bump all libraries version to 1.15.0
2021-09-10 17:44:59 +02:00
Benjamin Monjoie
befca10552
Fix UI tests are not passing anymore
...
Due to a breaking change in the experimental Duration API in Kotlin
1.5 and a conflict with inline classes and coroutine in the IR
compiler. I had to update several dependencies.
* Fix tests won't run anymore by updating Kotlin (and dependencies)
+ turbine
* Update Store4 since there was a breaking change in Kotlin 1.5's
experimental Duration API on which Store4 relied
* Fix some deprecated calls (toUppercase/toLowercase, capitalize,
expectItem, ...)
2021-09-10 15:06:13 +02:00
proton-ci
b260608b34
[i18n@fc1b38b8] ~ Upgrade translations from crowdin
2021-09-07 14:13:23 +00:00
dkadrikj
797106632d
Fix payment back button press on empty payment methods.
2021-08-20 10:09:56 +00:00
dkadrikj
4094dbbda7
Updated CHANGELOG & modules version.
2021-08-05 11:35:09 +02:00
proton-ci
0cd2d60e3f
[i18n@eeb80941] ~ Upgrade translations from crowdin
2021-08-05 11:33:37 +02:00
dkadrikj
006656a964
Bump payment module version.
2021-07-29 18:30:16 +02:00
dkadrikj
3396ac0ec5
Fix the payment method options Pay button over items and ellipsize long credit card names.
2021-07-29 16:27:01 +00:00
dkadrikj
73f2d1bce3
Fixes and improvements.
...
Fix payment option selection.
Fix annual plan string.
Remove the Payments (upgrade primary) option from core example.
2021-07-26 18:59:38 +02:00
dkadrikj
284c24cc26
Improve NumberUtils.kt, Price.
2021-07-22 15:20:46 +00:00
dkadrikj
3506827a9b
Improve Human Verification help UI.
...
Bump affected module versions.
2021-07-22 15:20:46 +00:00
dkadrikj
384d8af85e
Fix and improve currency number format, add dialog to the resent code human verification and other plan and payment UI and string polishing.
2021-07-22 15:20:46 +00:00
dkadrikj
c8a88664f9
Tidy up human verification screens.
2021-07-22 15:20:46 +00:00
dkadrikj
0ce64dc5e2
Add toolbar to payment screens.
...
Fix broken payment option selection.
2021-07-22 15:20:46 +00:00
dkadrikj
2fac13fda6
Replace ComponentActivity and Fragment with ActivityResultCaller.
...
Add Human Ver Details Payment ext method.
2021-07-12 17:26:01 +02:00
dkadrikj
1d4be5767f
Redo the plans and payment flow navigation in context of signup flow.
2021-07-09 12:50:54 +02:00
dkadrikj
485efbd216
Bump module version to publish latest changes.
2021-06-21 15:41:26 +02:00
dkadrikj
aff32aa851
Code improvement, bug fixes and bump versions.
2021-06-21 11:04:13 +02:00
dkadrikj
182b36240d
Update payment module for plans module support.
2021-06-21 10:33:09 +02:00
Neil Marietta
1b7e6eb9e9
Fixed ClientId initialisation issue.
...
Added ClientIdProvider (rely on ProtonCookieStore).
2021-06-03 17:18:11 +02:00
dkadrikj
d75d9f58c3
Fix for Pay Button clickable before the payment options have been loaded.
2021-05-31 14:37:38 +00:00
Neil Marietta
58110656a9
Upgraded Hilt to 2.35.1.
2021-05-12 23:33:42 +02:00
dkadrikj
7b39a6e736
Improve code readability and clean up.
2021-05-05 18:33:24 +02:00
dkadrikj
7ff278f8fa
Fix and improve payment input validation.
...
Add tests for the new payment specific validations.
2021-05-05 18:33:24 +02:00
Davide Farella
f6b8069eb2
Increase global minSdk [21] -> [23]
2021-05-03 07:25:42 +00:00
dkadrikj
651f61e5e7
Fix ui for login screens.
...
Fix bug for payment for accounts that do not have existing payment methods.
Fix bug with end icon drawable for ProtonInput.
2021-04-09 19:06:02 +00:00
Neil Marietta
e5adf7bd80
Replaced ViewStateStore by StateFlow, ViewModelResult and SavedStateHandle.
2021-04-01 17:48:37 +02:00
dkadrikj
40ae4dbf6b
Bump versions.
2021-03-31 13:11:35 +02:00
dkadrikj
c78cede2a4
Bug fix: select first payment method in the list.
...
Bug fix: on 3DS failure, set the payment button to Idle.
2021-03-31 13:05:39 +02:00
dkadrikj
b7c8699746
Rename countries module.
...
Fix detect findings. Other improvements.
Bump versions.
Improvements.
2021-03-29 13:24:09 +02:00
dkadrikj
99391c478b
Fix after rebase.
...
Incorporate payment modules changes.
2021-03-29 13:24:08 +02:00
dkadrikj
225876b18b
Add new countries module (with submodules) for easier usage in any other module (or client).
2021-03-29 13:24:00 +02:00
dkadrikj
f3dbca2250
Rename api response classes.
...
Fix detekt findings.
Change repository to work with userId instead of sessionId.
Module versions set.
2021-03-29 13:24:00 +02:00
dkadrikj
cc72a087f9
Fix tests after incorporating dependant module changes.
2021-03-29 13:23:42 +02:00
dkadrikj
a13a9b347f
Incorporate latest changes from other modules.
2021-03-29 13:23:42 +02:00
dkadrikj
2e5d962060
Module versions set.
...
Format code, add Payments README.md.
2021-03-29 13:23:42 +02:00
dkadrikj
629cfcd5d8
Add payments data and presentation submodules.
2021-03-29 13:23:15 +02:00
dkadrikj
d5cccad3fe
Add payments domain submodule.
...
- Support for Proton payments.
Module versions set.
Clean up and improve domain module.
2021-03-29 13:23:15 +02:00