apla / me.apla.cordova.app-preferences

App preferences plugin for cordova
Apache License 2.0
201 stars 209 forks source link

Settings values are not visible on Android #123

Open vyarmolik opened 7 years ago

vyarmolik commented 7 years ago

Issue: Neither default nor specified setting values are visible on the settings view on Android 7.

I have app-settings.json taken from the me.apla.cordova.app-preferences main branch:

[
    {
        "type":"group",
        "title":"Common",
        "items":[{
            "title":"Title",
            "type":"textfield",
            "key":"title"
        }, {
            "title":"Language",
            "type":"radio",
            "key":"lang",
            "default": "en-us",
            "items":[{
                "value":"en-us",
                "title":"English (US)"
            }, {
                "value":"en-gb",
                "title":"English (UK)"
            }]
        }, {
            "title":"Debug",
            "type":"toggle",
            "default":false,
            "key":"debug"
        }]
    }
]

When the settings view is opened (via show() function call), default setting values are not visible (except of the setting with "toggle" type).

settings_view

Even if I set another setting value, via tapping on a setting, the value is still not visible on the main setting view. However it is visible, when the setting is selected and a popup with its value appears:

setting_chosen

Please specify your environment

Plugin version:

Toolchain:

Platforms affected:

What the scope of your problem:

maddymz commented 7 years ago

I am also having the same issue. @vyarmolik did you find any solution?