ionic-team / ionic-team/capacitor-plugins

device: navigator.vendor is deprecated

Open
#1,615 0 comments 0 reactions 0 assignees View on GitHub
platform: web plugin: device type: bug
Dominant language
Java
Stars
678
Forks
685
Avg merge
4d 22h
Merged PRs (30d)
3

Description

## Bug Report

### Plugin(s)
device

### Capacitor Version
5.x

### Platform(s)
web

### Current Behavior
We use `navigator.vendor` for returning the manufacturer property and it's deprecated

### Code Reproduction
https://github.com/ionic-team/capacitor-testapp

### Other Technical Details

I don't think there is an alternative, but maybe we should document it or deprecate it, the manufacturer field is only useful on Android native platform.

### Additional Context
It still works, but might break in the future, so the issue is just as a heads up.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.