Firebase – Service returns empty array
I am working on a personal project and I have a service that returns an array of images from firebases storage. The problem is that when I subscribe to the observable I get an empty array. When I open the…
I am working on a personal project and I have a service that returns an array of images from firebases storage. The problem is that when I subscribe to the observable I get an empty array. When I open the…
I'm looking for a hand with making an observable contain only distinct records. I'm using the observable in an angular mat-autocomplete with an async pipe and querying firebase with the user's typed-in values to bring back the list of options.…
I'm not able to achieve something like this: Get data from mongodb, returns ARRAY For each element of array go inside and get a field that is an array of arrays For each array inside the array of arrays call…
I am using a FlatList to render an array on the screen. It works fine exception for one use case. The issue I am having is that when I have less than 4 items in a row then it renders…
I found an API library for Woocommerce and trying to integrate it in Angular. for fetching categories it looks like this line is needed. const json = await WooWorker.getCategories(); My service looks like this: import { WooWorker } from "api-ecommerce";…
I'm working on Angular app using Php Phalcon framework for backend. So i have some server data shown in tables. It can be changed by client async, but i can't know when data is actually changed. Also i need update…
I am learning Angular (version 8) and stuck with RxJS. Precisely, I am unable to read a particular key from an Observable. Here is my User interface: export interface User { id: Number; email: String; first_name: String; last_name: String; avatar:…
Trying to figure out this error. I am attempting to call on an API, and map the JSON data from the API call to a CurrencyModel. No issues with that, but when I am calling on a method that returns…