Skip to content
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

contact picker api not working in brave android, but working in chrome #18908

Open
mishrasatyam opened this issue Oct 21, 2021 · 0 comments
Open
Labels
OS/Android Fixes related to Android browser functionality

Comments

@mishrasatyam
Copy link

Description

I am working with web contacts picker api on a website.
I am able to see results of const supportedProperties = await navigator.contacts.getProperties();
But nothing happens with const contacts = await navigator.contacts.select(['name', 'tel'], {multiple: false});
It works fine with chrome , edge crashes ,does not work in firefox

Steps to reproduce

  1. Check const contacts_api_supported = ('contacts' in navigator && 'ContactsManager' in window) //returns true in brave, chrome,edge, false in firefox
  2. Use const contacts = await navigator.contacts.select(['name', 'tel'], {multiple: false});// does not work in brave, firefox , edge, works in chrome

Actual result

Contacts picker api's navigator.contacts.select isn't working

Expected result

Contacts picker api's navigator.contacts.select should work (working with chrome)

Issue reproduces how often

Always

Version/Channel Information:

  • Can you reproduce this issue with the current Play Store version? Yes, version 1.30.87
  • Can you reproduce this issue with the current Play Store Beta version? Yes, version 1.32.73
  • Can you reproduce this issue with the current Play Store Nightly version?Yes version 1.33.22

Device details

  • Install type (ARM, x86):
  • Device type (Phone, Tablet, Phablet):Phone
  • Android version:Android 11

Brave version

version 1.30.87

Website problems only

  • Does the issue resolve itself when disabling Brave Shields? No
  • Does the issue resolve itself when disabling Brave Rewards? No
  • Is the issue reproducible on the latest version of Chrome? No, contacts picker api works fine with chrome
@mishrasatyam mishrasatyam added the OS/Android Fixes related to Android browser functionality label Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS/Android Fixes related to Android browser functionality
Projects
None yet
Development

No branches or pull requests

1 participant