Open
Description
Issue Description
We experience a null pointer exception in our app, and it seems to be related to Switch and background color.
It looks suspiciously similar to this NativeScript/nativescript-angular#2134 and #9922, but for iOS.
Reproduction
I'm unable to reliably reproduce this.
Relevant log output (if applicable)
TypeError: Cannot set property 'onTintColor' of null
at Switch.setNativeBackgroundColor
at Switch._onCheckedPropertyChanged
at onCheckedPropertyChanged
at Switch.checked
at ViewUtil.setPropertyInternal
at ViewUtil.setProperty
at EmulatedRenderer.setProperty
at ZoneDelegate.invoke
at Zone.run
Environment
No response
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- This is a bug report
- I agree to follow this project's Code of Conduct