Skip to main content

DeviceRegistrationView

//causallabs-android-compose/io.causallabs.android.compose/DeviceRegistrationView

DeviceRegistrationView

[io.causallabs.android.compose]\

@Composable

fun DeviceRegistrationView(deviceId: PersistentId, modifier: Modifier = Modifier)

A screen which can register the current device, based on the input deviceId to the Causal web tools. This is intended for debug application builds only and should not be included in production releases.

Parameters

io.causallabs.android.compose

deviceIdthe persistent device id for this device.
modifiercompose modifier which is applied to the root composable.