Skip to content

chore(splash-screen): use getConfig instead of getConfigValue#962

Merged
jcesarmobile merged 2 commits intocapacitor-4from
use-getconfig
May 12, 2022
Merged

chore(splash-screen): use getConfig instead of getConfigValue#962
jcesarmobile merged 2 commits intocapacitor-4from
use-getconfig

Conversation

@jcesarmobile
Copy link
Member

Just wondering, should we change the @capacitor/ios implementation to not use labels?

i.e. so we can do

getConfig().getString("backgroundColor")
getConfig().getBoolean("launchAutoHide", config.launchAutoHide)

instead of

getConfig().getString(configKey: "backgroundColor")
getConfig().getBoolean(configKey: "launchAutoHide", defaultValue: config.launchAutoHide)

@jcesarmobile jcesarmobile merged commit eeae8e9 into capacitor-4 May 12, 2022
@jcesarmobile jcesarmobile deleted the use-getconfig branch May 12, 2022 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants