Skip to content

Commit

Permalink
Merge pull request #707 from praveek/dev_testapp
Browse files Browse the repository at this point in the history
Update test app for smoke tests
  • Loading branch information
praveek authored Aug 26, 2024
2 parents 11fe509 + 9860ebd commit dcb2ffd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ fun CoreView(navController: NavHostController) {
Button(onClick = {
updateConfiguration()
}) {
Text(text = "updateConfiguration(optedout)")
Text(text = "updateConfiguration")
}
Button(onClick = {
clearUpdatedConfiguration()
Expand Down Expand Up @@ -124,7 +124,7 @@ fun CoreView(navController: NavHostController) {
// The bundled rule is configured to triggers a postback for the following condition: a trackAction event with the action type 'bundled_trigger_postback'.
MobileCore.trackAction("bundled_trigger_postback", null)
}) {
Text(text = "trigger rule consequence(postback)")
Text(text = "Trigger bundled rule consequence(postback)")
}
Button(onClick = {
MobileCore.setLogLevel(LoggingMode.VERBOSE)
Expand Down Expand Up @@ -244,7 +244,7 @@ private fun showCoreVersion() {
}

private fun updateConfiguration() {
MobileCore.updateConfiguration(mapOf("global.privacy" to "optedout"))
MobileCore.updateConfiguration(mapOf("custom_key" to "custom_value"))
}

private fun clearUpdatedConfiguration() {
Expand Down

0 comments on commit dcb2ffd

Please sign in to comment.