This adds a new option to heap.config.json to enable debug logging on iOS and enables it by default for dev builds. This also significantly refactors generate_settings_common.rb while adding a quick-and-dirty unit test to validate it.
Test Plan
The settings code was tested using ios/HeapSettings.bundle/test_generate_settings.rb and manually validated in a sample app.
Checklist
[x] Detox tests pass
[x] If this is a bugfix/feature, the changelog has been updated
This adds a new option to
heap.config.json
to enable debug logging on iOS and enables it by default fordev
builds. This also significantly refactorsgenerate_settings_common.rb
while adding a quick-and-dirty unit test to validate it.Test Plan
The settings code was tested using
ios/HeapSettings.bundle/test_generate_settings.rb
and manually validated in a sample app.Checklist