summaryrefslogtreecommitdiffhomepage
path: root/android/lib/endpoint/src
AgeCommit message (Collapse)AuthorFilesLines
2025-05-21Supply IP address when using API overrideDavid Göransson1-0/+1
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-01-02Remove global API endpointEmīls1-1/+0
2024-12-13Replace intentholder with api override intent holderJonatan Rhodin2-0/+21
2024-10-03Suppress false positive deprecation warningDavid Göransson1-1/+1
2024-08-30Initialize mullvad daemon directly in vpn service on createJonatan Rhodin6-52/+21
As a consequence move the address resolve to the daemon
2024-08-28Reformat kotlin code using updated ktfmt pluginAlbin2-3/+3
This commit mostly adds trailing commas throughout the project, but also includes a few other formatting changes.
2024-01-11Synchronize `mullvad-api` and `mullvad-daemon` when the `api-override`Markus Pettersson2-6/+3
feature is enabled Move the logic for using overridden API endpoints for API calls from `mullvad-api::rest` to `mullvad_daemon::api`. This is in line with how the interaction between the two crates work for a normal release build, i.e. when the `api-override` feature is disabled. This commit also removes references to `force_direct_connection` in the Android code. The flag does not exist in the `mullvad-*` rust crates anymore, so it would be erroneous to try to serialize/deserialize the value from the Android client.
2023-11-27Enable forced direct connection for devmole and stagemole buildsAlbin1-2/+2
This commit enables forced API direct connection as well as disables API address caching to improve testing against the devmole and stagemole environments.
2023-10-16Use flavor configuration to set api endpointAlbin1-0/+2
2023-10-16Refactor custom api endpoint configAlbin2-8/+21
2023-03-22Apply project-wide `kotlinLangStyle` formattingAlbin1-3/+1
2023-01-10Add option to use custom api endpoint in debug buildsAlbin1-0/+18
2023-01-10Move endpoint logic to :lib:endpointAlbin4-0/+38
2023-01-10Add empty project :lib:endpointAlbin1-0/+1