()
| 216 | }); |
| 217 | } |
| 218 | getAll() { |
| 219 | const ks = NSMutableSet.new<string>(); |
| 220 | ks.addObjectsFromArray(this.native.allKeysFromSource(FIRRemoteConfigSource.Static)); |
| 221 | ks.addObjectsFromArray(this.native.allKeysFromSource(FIRRemoteConfigSource.Default)); |
| 222 | ks.addObjectsFromArray(this.native.allKeysFromSource(FIRRemoteConfigSource.Remote)); |
| 223 | const objects = ks.allObjects; |
| 224 | const count = objects.count; |
| 225 | const all = {}; |
| 226 | for (let i = 0; i < count; i++) { |
| 227 | const key = objects.objectAtIndex(i); |
| 228 | all[key] = ConfigValue.fromNative(this.native.configValueForKey(key)); |
| 229 | } |
| 230 | return all; |
| 231 | } |
| 232 | getBoolean(key: string): boolean { |
| 233 | return this.getValue(key)?.asBoolean?.(); |
| 234 | } |
nothing calls this directly
no test coverage detected