-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
plugin: remote_configresolution: wontfixThis will not be worked onThis will not be worked ontype: enhancementNew feature or requestNew feature or request
Description
What feature would you like to see?
Add the possibility to update setDefaults without replace the old ones if keys aren't the same.
Example:
I'm using the add-to-app
implementation and the host app already has defaults values. But in the flutter side I want add more defaults and I don't want add these defaults in ios & android app code.
so the proposal is in setDefaults(Map<String, dynamic> defaultParameters)
a possibility to add a flag replace with default true.
Example:
Future<void> setDefaults(Map<String, dynamic> defaultParameters, {bool replace = true}) {
throw UnimplementedError('setDefaults() is not implemented');
}
if replace
false is the new parameters will be added with the old ones. If true, it will be replaced.
Metadata
Metadata
Assignees
Labels
plugin: remote_configresolution: wontfixThis will not be worked onThis will not be worked ontype: enhancementNew feature or requestNew feature or request