You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The functions ons.platform.isAndroid and ons.platform.isIOS take into account any values set using ons.platform.select.
For example, if you are using iOS but have set the platform to android, ons.platform.isAndroid will return true.
// on iOSons.platform.isAndroid();//falseons.platform.select('android');ons.platform.isAndroid();//true
This seems like unexpected behaviour to me. Maybe we could have separate functions like ons.platform.isReallyAndroid and ons.platform.isReallyIOS, or change the behaviour of the existing functions to ignore selected platform.