-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
platform: androidplatform: iostype: feature requestA new feature, enhancement, or improvementA new feature, enhancement, or improvement
Description
Description
There is currently no way to get a configuration value of type Double.
Platforms
- iOS
- Android
- Web
Request or proposed solution
Add a new method getDouble
to PluginConfig.swift
:
@objc public func getDouble(_ configKey: String, _ defaultValue: Double) -> Double {
if let val = (self.config)[keyPath: KeyPath(configKey)] as? Double {
return val
}
return defaultValue
}
Alternatives
No response
Additional Information
No response
Metadata
Metadata
Assignees
Labels
platform: androidplatform: iostype: feature requestA new feature, enhancement, or improvementA new feature, enhancement, or improvement