summaryrefslogtreecommitdiffhomepage
path: root/android/app/build.gradle.kts
AgeCommit message (Collapse)AuthorFilesLines
2025-10-28Rename 'shared' to 'repository'Kalle Lindström1-1/+1
2025-10-28Add option to show relay location in notificationKalle Lindström1-14/+0
This PR adds the following: - An option to show the relay location in the connection notification. - A new submenu under Settings called Notifications. - In the new Notifications screen a toggle to enable/disable showing the location in the notification.
2025-10-27Rename boringtun to gotatun in gradleAlbin1-2/+2
2025-10-06Warn users about android 16 upgrade issueDavid Göransson1-1/+2
2025-09-12Add better support for variant filtersDavid Göransson1-22/+2
2025-09-10Add inital baseline profile generationKalle Lindström1-5/+27
To improve startup performance this PR adds a baseline profile generation module in test/baselineprofile. The baseline profile plugin requires Junit4 so that is also added as a dependency. A baseline-prof.txt was also generated by running `./gradlew generatePlayProdReleaseBaselineProfile` and checked in. The tests that generate the baselineprofile currently only start the app and accepts the privacy policy. This should be improved later on to improve the startup performance.
2025-09-08Remove autogenerated locale config due to crashJonatan Rhodin1-1/+5
Instead use a static file
2025-08-28Use rust-android-gradle plugin as submoduleKalle Lindström1-26/+13
2025-08-01Fix ktor parsing errorDavid Göransson1-2/+8
App module had transitive dependencies using a older version at runtime of serializationx. However, when compiling the test:e2e module a later version than 1.8.0 was used through ktor. This caused deserialization in runtime to go looking for a method that didn't exist. By putting an explicit version in the app module we make sure to use a version that is compatible with ktor.
2025-07-31Support 16kb page sizeDavid Göransson1-0/+7
2025-07-29Add release-debuginfo config and Cargo profileKalle Lindström1-6/+17
When doing performance profiling we want to used the optimized Rust artifacts but we also want to keep the debug symbols.
2025-07-24Update Android native debug instructionsKalle Lindström1-1/+4
2025-07-04Create new design system moduleDavid Göransson1-0/+1
2025-07-03Fix gradle kotlinOptions warningsDavid Göransson1-11/+11
2025-06-30Enable alpha publishing of prod appAlbin1-0/+1
2025-05-30Exclude common bean utilsJonatan Rhodin1-1/+10
2025-05-26Add BoringtunJoakim Hulthe1-2/+9
Co-authored-by: Joakim Hulthe <joakim.hulthe@mullvad.net> Co-authored-by: Sebastian Holmin <sebastian.holmin@mullvad.net> Co-authored-by: David Göransson <david.goransson@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net> Co-authored-by: David Lönnhager <david.l@mullvad.net>
2025-05-26Migrate remaining deps and versions to version catalogsDavid Göransson1-14/+13
2025-05-24Fix version code safeguardAlbin1-14/+0
Moving the version code safeguard in order to make it configuration cache compliant.
2025-05-21Unify usage of gradle propertiesDavid Göransson1-35/+9
This commit does multiple changes to how we work with properties. - Instead of relying on `e2e.properties` and `local.properties` only use the `gradle.properties` as per standard gradle. - Naming of properties are changed to have a coherent structure. - Allow for setting stagemole and prod account separately. - Consolidate all the default values into `gradle.properties`
2025-05-09Fix lint warningDavid Göransson1-1/+1
2025-05-05Exclude biometric dependency to avoid permission issueJonatan Rhodin1-1/+7
2025-04-30Move all test tags to new lib.ui.tag moduleKalle Lindström1-0/+1
2025-04-15Add property flag to enable keep native symbolsKalle Lindström1-1/+9
The native symbols blows up the size of the APK by a lot, so we add a flag `KEEP_DEBUG_SYMBOLS` that must be set to `true` or else we strip the native lib symbols.
2025-03-26Use drawable directly for split tunneling app iconsJonatan Rhodin1-0/+2
Also add a loading circle instead of the missing app icon image
2025-03-19Improve TV connect screen UIKalle Lindström1-0/+3
- Implements the navigation rail design for Android TV - Implements the TV notification banner design - Adds two new Gradle modules: * tv: contains the Android TV specific Compose components (e.g. the NavigationDrawerTV component) * ui/compose: contains Compose-specific code that is needed by both the app module and the tv module.
2025-03-17Keep native debug symbols for debug buildsKalle Lindström1-0/+1
2025-03-07Fix devmole publishingAlbin1-1/+4
2025-03-07Add Androidx credentials dependencyDavid Göransson1-1/+2
2025-03-05Revert "Set debugSymbolLevel to full"Albin1-1/+0
This reverts commit e96254b9b484f0411f50de5255487d3a4b15de5b. The commit was reverted due to it not producing the expected output.
2025-03-05Set debugSymbolLevel to fullKalle Lindström1-0/+1
2025-03-05Revert "Remove debug symbols for aab bundles"Kalle Lindström1-4/+0
We want to include the symbol files in the aab archive as this will enable us to see symbolized stack traces in the play console. This reverts commit ca687173e28a4b9acf69b1b99e9ee83da9ebd40a.
2025-03-04Improve connectivity listener online detectionDavid Göransson1-0/+1
Fixes incorrect filter for networkEvents. Also adds debouncing to offline state when roaming to cellular from WiFi, this would otherwise cause a full reconnection.
2025-02-26Remove Joda Time and use java.time package insteadKalle Lindström1-1/+0
Joda Time has been superseded by the Java 8 java.time package which has more or less the same API. This commit removes all usage of Joda Time and replaces it with the java.time classes. This is done so that we can remove the dependency on Joda Time.
2025-02-25Enable --locked for all gradle rust buildsJonatan Rhodin1-3/+1
2025-02-18Fix formattingDavid Göransson1-4/+2
2025-02-04Remove OWASP dependency check pluginAlbin1-8/+0
The OWASP DependencyCheck plugin has been replaced with `osv-scanner` which covers our use-case.
2025-01-28Bundle a pre-generated relay list instead of generating oneJonatan Rhodin1-39/+5
The android app will try to bundle the relays.json found under dist-assets/relays/ if it exists. Otherwise it will rely on the relay list downloaded by the api. For alpha, beta and stable release builds it is required to have a bundled relays.json file.
2025-01-27Treat fdroid builds the same as release buildsJonatan Rhodin1-1/+3
2025-01-27Remove debug symbols for aab bundlesJonatan Rhodin1-0/+4
2025-01-24Remove logging and formattingKalle Lindström1-3/+1
2025-01-23Add script to generate rustc --remap-path-prefixKalle Lindström1-0/+5
This is needed for reproducible builds. The script gets the file paths to the user's Cargo and Rustup home dirs, as well as the path to the Mullvad app source dir. These paths are then remapped to fixed values which is needed to make the build reproducible.
2025-01-22Specify --package when trying to run relay_listLinus Färnstrand1-1/+1
2025-01-10Fix gradle rust android pluginDavid Göransson1-1/+8
2025-01-09Remove ALWAYS_SHOW_CHANGELOG propertyDavid Göransson1-6/+0
2025-01-08Add gradle rust pluginJonatan Rhodin1-24/+86
2024-12-19Add proto datastore dependencyKalle Lindström1-8/+20
2024-12-13Enable lint option checkAllWarningsAlbin1-0/+2
2024-12-13Replace intentholder with api override intent holderJonatan Rhodin1-1/+0
2024-12-12Remove machines file except on WindowsDavid Lönnhager1-10/+0