summaryrefslogtreecommitdiffhomepage
path: root/android/service/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-0/+1
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-07-03Fix gradle kotlinOptions warningsDavid Göransson1-3/+7
2025-06-19Use AlarmManager for notificationsKalle Lindström1-0/+10
Instead of scheduling system notifications from a flow we now schedule them independently from the app lifecycle via AlarmManager. This is done so that for example an expiry notification that the user dismissed won't get redisplayed if the app process gets killed and then restarted. When the account exiry time is fetched we schedule an alarm that will show a notification 3 days before the account time expires. This alarm then also schedules a new alarm to show the following notification and so on. To make this work this PR also introduces two new broadcast receivers; one on boot received listener and one on time time/timezone changed listener. Beause Android clears alarms when the devices is rebooted/the time is changed we need these listeners to re-trigger the alarm. To enable the broadcast receivers to re-trigger the alarm we also have to persist the expiry time in the DataStore preferences.
2025-05-26Migrate remaining deps and versions to version catalogsDavid Göransson1-4/+4
2025-05-21Supply IP address when using API overrideDavid Göransson1-0/+3
Previously we did a DNS lookup for Stagemole and Devmole however, this causes problem when starting the app with no internet and is different from how the app performs in production mode. This commit removes that logic in order to align closer to what we expect in prod.
2025-05-21Unify usage of gradle propertiesDavid Göransson1-4/+1
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-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-01-28Bundle a pre-generated relay list instead of generating oneJonatan Rhodin1-1/+12
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.
2024-12-13Replace intentholder with api override intent holderJonatan Rhodin1-1/+0
2024-12-11Update stagemole and devmole hostnamesNiklas Berglund1-2/+2
2024-10-03Make all compiler warnings errorsDavid Göransson1-1/+4
2024-09-24Set build tools version to 35.0.0David Göransson1-0/+1
2024-09-17Format build filesDavid Göransson1-6/+2
2024-08-13Migrate to version catalogsAlbin1-22/+26
2024-06-26Add kermit dependencyAlbin1-0/+1
2024-05-29Migrate to gRPCDavid Göransson1-6/+10
Co-authored-by: Jonatan Rhodin <jonatan.rhodin@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net> Co-authored-by: David Lönnhager <david.l@mullvad.net>
2024-03-04Remove buildconfig from propertiesDavid Göransson1-0/+3
2024-01-02Remove unused dependenciesJonatan Rhodin1-2/+0
2023-10-16Use flavor configuration to set api endpointAlbin1-2/+10
2023-10-16Add infra dimension to vpn serviceAlbin1-0/+7
2023-09-21Add billing and infrastructure flavor dimensionsAlbin1-0/+7
Flavor dimension usage: * `billing` - used to build separate artifacts where (1) different policies are followed and (2) different dependencies are used. * `infrastructure` - used to improve development and testing against non-production environments.
2023-09-21Apply automatic formatting and cleanup of gradle filesAlbin1-6/+2
2023-08-04Remove targetSdk from libsAlbin1-1/+0
2023-08-03Bump container image, jdk, gradle and agpAlbin1-2/+2
2023-07-28Add empty vpn service moduleAlbin1-0/+46