You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@objcpublicfunc 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
The text was updated successfully, but these errors were encountered:
If this feature is added should be added for both iOS and Android.
For your linked PR, I don't think you need a getDouble anyway since the config value is an integer and you get it as an integer on Android side, so it's better to cast it as you did rather than use a getDouble method to get an integer.
Description
There is currently no way to get a configuration value of type Double.
Platforms
Request or proposed solution
Add a new method
getDouble
toPluginConfig.swift
:Alternatives
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: