Ionic App - Get data from Firebase Firestore Database

preview_player
Показать описание
This video explains how to use a Firebase Firestore database as the Travel listing data source for the Ionic 5 Full Starter App template.

Рекомендации по теме
Комментарии
Автор

Can you provide the full code for the service file. I am struggling to see where and how you created the afs variable. If I add private afs : Angularfirestore to the constructor I get the following build error - Cannot find name 'Angularfirestore'

terrycollinson
Автор

Hello,
This line " listing.items = actions.map(destination => destination);" does not work on my ionic projet.

I get this error : Type 'physiqueListingModel[]' is not assignable to type 'physiqueItemModel[]'.
Type 'physiqueListingModel' is missing the following properties from type 'physiqueItemModel': slug, picture, address, price, likedts(2322)

Redchristian