Describe the bug
I got a "Error while updating property 'config' of a view managed by : RNJWPlayerView" error box when running on Android that I was able to slowly narrow down to omitting a default property on a track in the config, e.g.:
It appears to be coming from on or around this line, despite default being marked optional in TypeScript. Maybe trackProp.hasKey("default") ? trackProp.getBoolean("default") : false would solve this.
To Reproduce
Try to set a config with a track but with no default property, then run the app on Android.
Expected behavior
Default defaults to false if not supplied, no error.
Describe the bug I got a "Error while updating property 'config' of a view managed by : RNJWPlayerView" error box when running on Android that I was able to slowly narrow down to omitting a
default
property on a track in the config, e.g.:It appears to be coming from on or around this line, despite
default
being marked optional in TypeScript. MaybetrackProp.hasKey("default") ? trackProp.getBoolean("default") : false
would solve this.To Reproduce Try to set a config with a track but with no
default
property, then run the app on Android.Expected behavior Default defaults to false if not supplied, no error.
Screenshots / Visual evidence