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

Abierto
#621 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@triniwiz ya está trabajando en esto.

Desde el 23/4/2025.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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 😄)

Lenguaje dominante
TypeScript
Estrellas
206
Forks
123
Merge medio
2 d 1 h
PR fusionados (30 d)
1

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NativeScript/plugins

Todos los issues de NativeScript/plugins

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.