You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale-android/android/src
kari-ts d3f34c579d
android: defer vpn permission until activity is resumed (#647)
Right now, we register the launcher in MainActivity.onCreate(), inject this into the ViewModel, then show the launcher in MainView.
There is no guarantee that the activity is in RESUMED when the Composable runs, showing the launcher. This can lead to a silent RESULT_CANCELED on some OEMs.
The fix is to add a lifecycle-aware wrapper that defers the launch.

Updates tailscale/tailscale#15419

Signed-off-by: kari-ts <kari@tailscale.com>
7 months ago
..
androidTest/kotlin/com/tailscale/ipn android: fix MainActivityTest (#550) 1 year ago
main android: defer vpn permission until activity is resumed (#647) 7 months ago
test android/src/main: show exit node information in the permanent notification (#642) 8 months ago