Hi there, Can anyone please help me with this:
I am able to change the colours on the login screen but not on the actual tickets screen in accordance to my theme


This is what im using as mentioned in the docs:
private fun createTicketsColors(color: Int): TicketsColors =
TicketsColors(
lightColors(primary = Color(color), primaryVariant = Color(color), secondary = Color(color)),
darkColors(primary = Color(color), primaryVariant = Color(color), secondary = Color(color))
)
TicketsSDKClient
.Builder()
.authenticationSDKClient(authentication) //Authentication object
//Optional value to define the colors for the Tickets page
.colors(createTicketsColors(android.graphics.Color.parseColor(color)))
//Function that generates a TicketsSDKClient object
.build(this@TicketsSdkHostActivity)
.apply {
//After creating the TicketsSDKClient object, add it into the TicketsSDKSingleton
TicketsSDKSingleton.setTicketsSdkClient(this)
//Validate if there is an active token.
if (tokenMap.isNotEmpty()) {
//If there is an active token, it launches the event fragment
launchTicketsView()
} else {
//If there is no active token, it launches a login intent. Launch an ActivityForResult, if result
//is RESULT_OK, there is an active token to be retrieved.
resultLauncher.launch(TicketsSDKSingleton.getLoginIntent(this@TicketsSdkHostActivity))
}
}
Please help
Hi there, Can anyone please help me with this:
I am able to change the colours on the login screen but not on the actual tickets screen in accordance to my theme
This is what im using as mentioned in the docs:
Please help