[@nativescript/contacts] loading large amount of contacts with image is very slow

Aberta
#621 0 comentários 0 reações 1 responsável Ver no GitHub

@triniwiz já está trabalhando nisso.

Desde 23/4/2025.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

I'm making an app where I need the contact list from the phone, including images.

I'm using @nativescript/contacts and Contacts.getAllContacts(['name', 'phoneNumbers', 'photo']).

This is painfully slow to load, especially on iPhones, when the number of contacts grows. 500 contacts with image can easily take 10-20 seconds to load depending on the device. If I remove the request for photo it becomes blazingly fast again.

Do you have any good tips on how to load the images in a faster manner?

This was first mentioned on Discord where @triniwiz indicated that there might be a way to fix this by re-writing a part of the plugin code, hence this ticket (no pressure 😄)

Linguagem predominante
TypeScript
Estrelas
206
Forks
123
Merge médio
2d 1h
PRs com merge (30d)
1

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de NativeScript/plugins

Todas as issues de NativeScript/plugins

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.