Is there a way to identify platform application currently runs on. Meaning, is it Android device or IOS device?
My guess would be to create two separate projects (IOS and Android project) and try to limit differences in one file.
But maybe there are other options?
You can use application:getDeviceInfo() function. It returns multiple values, but the first value is "iOS" on iOS devices or "Android" on Android devices.
Thank you and sorry for wasting your time.