bug: platform#is('desktop') returning true on new Pixel 7 phones
See original GitHub issuePrerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
- Nightly
Current Behavior
On new pixel 7 phones, when the devices screen resolution is set to factory defaults (e.g. “highest” / “smallest” or “make everything as small as possible to show as much as possible” … max resolution), Ionic apps are reporting that the platform is ‘desktop’.
If screen resolution is dropped down by one notch, the platform is properly reported as ‘mobile’.
Not sure how best to report this, but this is what we’re seeing.
Expected Behavior
The platform should be reported as ‘mobile’, not ‘desktop’.
Steps to Reproduce
Run any ionic app on a Google Pixel 7 with default factory display settings. Platforms will contain ‘desktop’.
Code Reproduction URL
No response
Ionic Info
mshark:topdecked-unified lincoln$ ionic info
Ionic:
Ionic CLI : 6.20.1 (/Users/lincoln/.nvm/versions/node/v16.14.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.3.4
@angular-devkit/build-angular : 14.2.8
@angular-devkit/schematics : 14.2.8
@angular/cli : 14.2.8
@ionic/angular-toolkit : 7.0.0
Capacitor:
Capacitor CLI : 4.4.0
@capacitor/android : 4.4.0
@capacitor/core : 4.4.0
@capacitor/ios : 4.4.0
Utility:
cordova-res : not installed globally
native-run : 1.7.1
System:
NodeJS : v16.14.0 (/Users/lincoln/.nvm/versions/node/v16.14.0/bin/node)
npm : 8.3.1
OS : macOS Monterey
Additional Information
None. Not sure if this issue is related: https://github.com/ionic-team/ionic-framework/issues/24179
Issue Analytics
- State:
- Created 10 months ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Pixel 7 and 7 Pro problems and how to fix them
We take a look at some common Google Pixel 7 and 7 Pro problems and offer potential solutions on how to fix them....
Read more >Google Pixel 7 review: hard to resist, but a bit of a risk
The $599 Google Pixel 7 is a great smartphone with a fantastic camera, ... Slow charging; Software bugs; Poor gaming performance.
Read more >Pixel 7 - Google Store
Google Pixel 7 is super fast and responsive, with an adaptive battery and so ... The powerful new processor is custom built with...
Read more >GrapheneOS: Frequently Asked Questions
Pixel 7 ; Pixel 6a; Pixel 6 Pro; Pixel 6. Newer devices have more of their 5 year minimum guarantee remaining but the...
Read more >Android 12: Everything you need to know about Google's new ...
Developer Previews are also restricted to supported Google Pixel devices. Android 12 Beta. After a couple of Developer Preview releases, we made ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Weird. Yeah looks like I pasted the wrong results for the P6. My pixel 6 shows the same as your 4a.
Filed: https://bugs.chromium.org/p/chromium/issues/detail?id=1384181