Yokan / rebuild
Course 1 8624561

SecureScreen.kt

composeApp/src/commonMain/kotlin/eu/friedcutlet/yokan/ui/SecureScreen.kt

implementation11 lines
1package eu.friedcutlet.yokan.ui23import androidx.compose.runtime.Composable45/**6 * Keeps app content out of screenshots, screen recording and the app switcher while [secure].7 * Android: FLAG_SECURE. iOS: a privacy cover in the app switcher and while the screen is8 * captured. Desktop and web have no equivalent (docs/features/PRIVACY_AND_SECURITY.md).9 */10@Composable11internal expect fun SecureScreenEffect(secure: Boolean)12

Search chapters, reference and source filenames.