Ir al contenido

TryYourSize.Configuration

Esta página aún no está disponible en tu idioma.

Typecom.tryyoursize:tryyoursize-android

appearanceAppearanceOpcional= Appearance()

Colours, font and corner radius for the button and the window.

localeString?Opcional= null

BCP 47 language for the button and the window; null: the device's language.

packageNameString?Opcional= null

The app's identity registered for the store; null: the context's package name.

embedOriginStringOpcional= "https://embed.tryyoursize.com"

Our window's origin (change only for staging or local development).

webContentsDebuggingBooleanOpcional= false

Lets chrome://inspect attach to the window. Debug builds only.

val tys = TryYourSize(context, "pk_test_…", TryYourSize.Configuration(
appearance = Appearance(borderRadius = 10f),
locale = "es",
))

¿Te ha resultado útil esta página?