Hello,
We have multiple integrations between our Mobile Apps and Zendesk via Zendesk SDK, while also using the Zendesk Guide Help Center. We found a problem using HelpCenterActivity in Android.
We set a RequestActivityConfig to add some custom fields to our tickets, but found that the next code works only when sending a ticket from "Help Center Articles list" screen and "Help Center Article Detail" screen, but sending a ticket from "Ticket list" screen.
If the user navigate to the ticket list screen then this configuration is ignored.
val requestActivityConfig:
Configuration =
RequestActivity.builder()
.withCustomFields(
listOf(
CustomField(customFieldApp, context.getString(R.string.zendesk_app_name)),
CustomField(customFieldZone, getSelectedZoneIdUseCase()),
CustomField(customFieldMobileOs, "Android"),
CustomField(customFieldDeviceModel, Build.MODEL),
CustomField(customFieldAppVersion, context.packageManager.getPackageInfo(context.packageName, 0).versionName),
CustomField(customFieldOsVersion, Build.VERSION.SDK_INT.toString())))
.config()val categoryId = Long.parseLong(context.getString(R.string.zendesk_category_id))HelpCenterActivity.builder()
.withArticlesForCategoryIds(categoryId)
.show(context, requestActivityConfig)
Thanks and regards,
Fernando