Skip to content

Usage of deprecated getConfigValue method for iOS platform #270

@piotr-cz

Description

@piotr-cz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions