-
Notifications
You must be signed in to change notification settings - Fork 529
Closed
Description
URL
Configuration Values > Accessing Configuration Values
For iOS, use the getConfigValue() method:
if let style = getConfigValue("style") as? String { // Set the style }
What is missing or inaccurate about the content on this page?
Docs encourage use of getConfigValue method for iOS platform, but it has been deprecated in Capacitor 4.0.0-beta.0 here: ionic-team/capacitor#5495
Documentation should be updated for v4, v5 and v6 to use getConfig() method, I'd say there doesn't have to be a distinction between iOS and Android platforms
For reference I found a commits with migration getConfigValue -> getConfig in
@capacitor/splash-screenrepo: https://github.com/ionic-team/capacitor-plugins/pull/962/files@capacitor/push-notificationsrepo: ionic-team/capacitor-plugins@aa623eb
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels