uservoice / uservoice-android-sdk

UserVoice Android SDK
https://www.uservoice.com/mobile/
MIT License
117 stars 105 forks source link

Custom fields are ignored #270

Open TregubArtem opened 6 years ago

TregubArtem commented 6 years ago

Hi, i'm trying to send field app_version in user idea using this project. I've tried it as config.putUserTrait and config.putAccountTrait and both of this approaches were ignored. After some googling i found out that correct way to do this is something like:

        Map<String, String> customFields = new HashMap<>();
        customFields.put("app_version", BuildConfig.VERSION_NAME);
        config.setCustomFields(customFields);

But i still didn't see anything in idea, i have already add this field in https://xxx.uservoice.com/admin/settings/tickets/fields and i also tried both Read-only and Text input but i can't see anything in UI of an app and in idea on site. What am i doing wrong?