-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Platform.is returns wrong value in v4 #15165
Comments
Thanks for the issue! We will look into this. Merging the following issues into this one to verify/fix:
|
similar here: but when I put the whole code from ./platform/browser/www: from ./platforms/browser/www is having the issue |
same issue |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Bug Report
When running on chrome desktop browser,
this.platform.is('core')
should return true. But currently it returns false.Ionic Info
Run
ionic info
from a terminal/cmd prompt and paste the output below.Steps to Reproduce
Steps to reproduce the behavior:
false
Expected Behavior
this.platform.is('core')
Should return trueAdditional Context
this.platform.platforms()
also returns ['android'] which is wrong.Related issue: #15051
The text was updated successfully, but these errors were encountered: