maxkomarychev / react-native-ultimate-config

Config that works
MIT License
261 stars 31 forks source link

Contain Array Key Value #51

Open hanifmhd opened 3 years ago

hanifmhd commented 3 years ago

is it possible?

maxkomarychev commented 3 years ago

hi @hanifmhd I haven't tested this case but I can imagine it can be done as long as react-native does support exporting arrays as constants. the library is doing this via https://reactnative.dev/docs/native-modules-ios#exporting-constants

maxkomarychev commented 3 years ago

it looks like it is possible to export non-scalar values from native code (i.e. arrays and dictionaries). I'll consider adding this functionality.

hanifmhd commented 3 years ago

hi @maxkomarychev thanks for the response, i really appreciate your work