ionic-team / ionic-team/capacitor
[Bug]: Seznam browser issue
- Dominant language
- TypeScript
- Stars
- 16.7k
- Forks
- 1.3k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 10
Description
### Capacitor Version
Latest Dependencies:
@capacitor/cli: 7.4.4
@capacitor/core: 7.4.4
@capacitor/android: 7.4.4
@capacitor/ios: 7.4.4
Installed Dependencies:
@capacitor/cli: 7.0.0
@capacitor/android: 7.4.1
@capacitor/ios: 7.4.1
@capacitor/core: 7.4.1
### Other API Details
```Shell
Using "@capacitor/core": "7.4.1" and supported versions of other libs, but issue is more likely forgotten/wrong implementation than version bound.
```
### Platforms Affected
- [ ] iOS
- [ ] Android
- [x] Web
### Current Behavior
Repost of https://forum.ionicframework.com/t/seznam-browser-issue-with-capacitor-isnativeplatform/250018 ;
when using any of:
```
{ Platform } from '@ionic/angular';
import { Capacitor } from '@capacitor/core';
...
Capacitor.isNativePlatform()
Platform.is(‘hybrid’)
Platform.is(‘capacitor’)
```
on Angular app loaded within this browser: https://apps.apple.com/cz/app/seznam-cz/id950278657 im getting `true` while expected is `false`.
### Expected Behavior
All of:
```
Capacitor.isNativePlatform()
Platform.is(‘hybrid’)
Platform.is(‘capacitor’)
```
should return `false` within mentioned browser (_or any other browser_ 🙃 )
### Project Reproduction
-
### Additional Information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.