Hello guys,
I need small help i know i'm very bad in javascript coding
i want to detect the ios version if it's higher or equal to ios 13 on cordova
i found that using the device plugin github.com/apache/cordova-plugin-device
Get the operating system version use : var string = device.version;
that will return "10.2" for example
how to perform that checking to doing something
if device.version >= 13
// do that thing
else
// do another thing
is it correct ?
Thanks