the code displays the contacts display names and phone number, but I get error on contact img, because contact.photos[0].value path look like this content://com.android.contacts/contacts/1/photo
Is there something I should use to get contact images displayed?
That doesn’t matter. The example I posted works fine and was tested just a few days ago.
Your problem is the security, as indicated by the error message “Not allowed to load…” that you still ignore and haven’t posted here. Please post a screenshot of your error message.
@Murhaf don’t forget to use <img [src]="…"/>
and this.sanitizer.bypassSecurityTrustUrl()
and don’t test it using livereload
it’s working with this conditions .