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
{{ message }}
This repository was archived by the owner on May 1, 2020. It is now read-only.
With update to 0.0.42, this.platform.is('cordova') is returning false on a device.
I expect it to return true.
Steps to reproduce:
Update ionic-app-scripts to version 0.0.42 or above.
Run any ionic2 app with ionic run (ios or android) --device -lc
Look at the list of platforms returned by the platform instance => console.log(this.platform.platforms());
You will see something like this in ios => ["mobile", "ios", "iphone", "phablet", "mobileweb"] and this in android => ["mobile", "android", "mobileweb"]
Previously it used include "cordova" as well. This is very frustrating especially that it's not documented anywhere.