aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/nonFree
AgeCommit message (Collapse)AuthorFilesLines
20 hoursbuild: drop the nonFree flavor, Sentry and Play ServicesDanilo M.24-413/+0
The fork targets GrapheneOS and ships only FOSS builds. The nonFree flavor added Sentry crash reporting, wired to upstream's Sentry project, and Play Services SMS one-time-code autofill, which needs Google's servers. Neither is wanted, so remove the flavor dimension entirely: - Delete app/src/nonFree, the SentryPlugin, the sentry-stub module, the Sentry and Play Services catalog entries, and the Sentry scope setup in Application. - Move the free AutofillSmsActivity stub into main; it keeps the SMS OTP feature off exactly as the free build did. A ponytail note marks the FillOtpFromSms paths for later removal. - SlimTests no longer needs to skip a nonFree variant. - Workflows and docs use :app:assembleDebug / :app:assembleRelease. A bare assembleRelease would also verify library modules in release mode, where ui:compose fails on a pre-existing AppCompat attribute reference the old flavored task never touched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2024-08-18fix: rework Crowdin integration (#3175)Harsh Shandilya8-1/+58
* chore: set up Crowdin configuration * fix(app): sync strings from Crowdin Closes #3174 * fix(ci): use crowdin/github-action instead of homebrew setup * fix(build): remove obsolete Crowdin plugin
2024-08-14chore: add missing copyright headers and update existing onesHarsh Shandilya16-16/+16
2024-05-28chore: reformat with trailing commas changesHarsh Shandilya1-3/+3
2023-12-31Sync localisations from Crowdin (#2841)Harsh Shandilya1-0/+8
strings: sync with crowdin Co-authored-by: GitHub Actions <noreply@github.com>
2023-11-26feat: remove Leak CanaryHarsh Shandilya1-67/+0
This mostly ends up spamming about Autofill leaks in the framework
2023-09-27fix(deps): update dependency com.slack.lint:slack-lint-checks to v0.6.0 (#2697)renovate[bot]1-3/+5
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-06-04fix: clear violations of `RawDispatcherUse`Harsh Shandilya1-3/+10
2023-05-12feat: raise min SDK to 26Harsh Shandilya1-2/+0
Autofill is only available on API 26 and above and I do not want to deal with bugs on these older Android releases.
2023-04-30Sync localisations from Crowdin (#2493)Harsh Shandilya1-0/+8
strings: sync with crowdin Co-authored-by: GitHub Actions <noreply@github.com>
2023-02-23chore(i18n): import current translationsHarsh Shandilya1-0/+8
2022-12-31chore: add inherited deprecation annotationHarsh Shandilya1-0/+1
2022-12-03feat(app): add implementations for SentryLeakUploaderHarsh Shandilya1-0/+67
2022-10-29feat(sentry): add profiling sample rate configHarsh Shandilya1-0/+1
2022-08-27Sync localisations from Crowdin (#2091)github-actions[bot]1-0/+8
strings: sync with crowdin Co-authored-by: GitHub Actions <noreply@github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-08-04Update app icon and add a monochrome layer (#2045)Harsh Shandilya1-1/+1
* app: check-in updated app icon * app: add a monochrome icon
2022-07-22Begin cleaning up Detekt warnings (#2027)Harsh Shandilya1-1/+1
2022-07-15all: re-do package structure yet againHarsh Shandilya2-5/+5
2022-05-27Fix ClipboardService crash (#1928)Harsh Shandilya1-2/+2
* Fix clipboard service crash on API 31 * all: use ints directly for SDK version checks I much prefer it this way
2022-05-07strings: sync with crowdin (#1901)github-actions[bot]1-0/+8
Co-authored-by: GitHub Actions <noreply@github.com>
2022-04-25all: reformat with ktfmt 0.36Harsh Shandilya1-2/+2
2022-04-21Remove support for external storage and raise target SDK to 31 (#1863)Harsh Shandilya1-1/+1
2022-03-13Configure Sentry with more information (#1782)Harsh Shandilya1-1/+1
* build-logic: remove error path in Sentry plugin * gradle: fix UnstableApiUsage warning * build-logic: configure Sentry Gradle Plugin * app: set traces sample-rate to 1.0 * sentry-stub: init * app: populate Sentry user field with feature flags
2022-02-20Introduce Sentry for error reporting (#1737)Harsh Shandilya1-0/+11
2022-01-01strings: sync with crowdin (#1636)github-actions[bot]1-0/+8
Co-authored-by: GitHub Actions <noreply@github.com>
2021-10-03Cleanup and improve CI checks (#1511)Harsh Shandilya1-1/+3
2021-10-03Replace Timber with logcat (#1509)(´⌣`ʃƪ)1-5/+5
* Replace Timber with logcat (#1505) * Add extension for asLog which takes a message param Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-15all: reformat with Spotless againHarsh Shandilya1-10/+20
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20app: remove lingering resource directoryHarsh Shandilya1-7/+0
The mapping was fixed on Crowdin but this wasn't deleted manually resulting in build failures Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20strings: sync with crowdinHarsh Shandilya6-4/+24
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20app: fix nonFree resourcesHarsh Shandilya7-21/+0
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18all: format XML files to 2 space indentHarsh Shandilya11-77/+68
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18all: reformat with ktfmtHarsh Shandilya1-96/+87
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18all: update copyrightsHarsh Shandilya11-11/+11
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-30Automate Crowdin localisation sync (#1265)Harsh Shandilya6-0/+48
* build: add a Gradle plugin for Crowdin Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build/crowdin: add skipCleanup extension property Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build/crowdin: also handle nonFree source set Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build/crowdin: fixup directory names for nonFree variant Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * app: sync translations from Crowdin Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: add Crowdin sync workflow Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-05Refactor package structure (#1233)Harsh Shandilya2-5/+5
* idea: default test runner to Gradle * Kick off package structure revamp * Reparent all classes under dev.msfjarvis.aps Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-30build: upgrade dependenciesHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-22Sync strings from Crowdin (#1117)Harsh Shandilya3-0/+24
* strings: sync from Crowdin Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Update changelog Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: disable ImpliedQuantity lint I hope our translators know better Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-16Autofill: Extract AutofillParser into separate subproject (#1101)Vincent Breitmoser1-10/+9
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-09-05AutofillSmsActivity: use runCatching to replace exception handlingHarsh Shandilya1-8/+10
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-30Fix two SMS Autofill crashes (#985)Fabian Henneke1-5/+28
SMS OTP Autofill currently crashes for two reasons: 1. Tasks.await has a precondition of not running on the UI thread. 2. Exceptions thrown from Tasks are always wrapped into ExecutionExceptions and need to be unwrapped before they can be identified as ResolvableApiException. This commit addresses both issues by making waitForSms a proper coroutine using withContext and a custom wrapper around Task<T> that relies on suspendCoroutine and automatically unwraps exceptions.
2020-07-22Add pt-BR translations and cleanup resources (#947)Harsh Shandilya2-0/+70
2020-07-02Fill OTP fields with SMS codes (#900)Fabian Henneke1-0/+136
* Fill OTP fields with SMS codes * Allow SMS OTP fill also for web origins * Introduce free and nonFree build variants * Fix up workflow * Improve layout and feature detection * Workflow changes * Add Changelog entry * github: update release workflow for nonFree/Free split Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Switch to lifecycleScope * github: make snapshot deploy free variant Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>