lytics / ios-sdk

MIT License
0 stars 0 forks source link

Zero character string should not be allowed for stream definition. #40

Closed markhayden closed 1 year ago

markhayden commented 1 year ago

When setting the defaultStream in the LyticsConfiguration if I set the value to an empty string this is accepted and it emits with no stream value as opposed to falling back to the default config option in SDK source.

We should not allow for an empty string value to be used as the stream in either the config on init or in the individual events. image