NativeComponentRenderer has AddComponent method with Dictionary<string, string>parameters parameter. And there is method TryParse which parses some types from string. But it shouldn't be limited by string in any way, there's nothing wrong with passing any types arguments to component, so I suggest making that Dictionary<string,object> instead.
Now, ShellNavigationManager uses this method, and it is limited by strings. But parsing those parameters is a concern of ShellNavigationManager, and shouldn't affect NativeComponentRenderer, so parsing arguments should be moved to ShellNavigationManager instead.
NativeComponentRenderer has
AddComponent
method withDictionary<string, string>
parameters
parameter. And there is methodTryParse
which parses some types from string. But it shouldn't be limited by string in any way, there's nothing wrong with passing any types arguments to component, so I suggest making thatDictionary<string,object>
instead.Now, ShellNavigationManager uses this method, and it is limited by strings. But parsing those parameters is a concern of ShellNavigationManager, and shouldn't affect NativeComponentRenderer, so parsing arguments should be moved to ShellNavigationManager instead.