⚠️ UIWindowScene warning message
There's a constant warning showing in Xcode:
WARNING: 'UIWindowScene' is only available on iOS 13.0 or newer.
in LiveChat-Swift.h file
in 2 functions:
+ (UIWindowScene * _Nullable)windowScene SWIFT_WARN_UNUSED_RESULT;
+ (void)setWindowScene:(UIWindowScene * _Nullable)value;
Possibly might be fixed by surrounding the block of code with @available 13.0 check, and use alternative code for devices with iOS < 13.0
@abdulla-allaith thanks for pointing this out. All the usages of UIWindowScene in the widget are annotated with @available. It looks like Xcode also generates setter and getter for this static property which doesn't inherit this annotation and it causes a warning. We will try to address this issue in the next planned release.
Any update on this issue? There has been 5+ releases since this issue, none of them fixes this annoying warning.