skip to Main Content

How to get key from Observable? – SEO

I am trying to read data from firebase using angular 2 and typescript my code export class DashboardComponent implements OnInit { itemsRef: AngularFireList<any>; items: Observable<any[]>; constructor( afDatabase: AngularFireDatabase) { this.itemsRef = afDatabase.list('/user_orders/louro'); this.items = this.itemsRef.valueChanges(); this.items.subscribe(val_2 => { alert(val_2.keys()); val_2.forEach(function…

VIEW QUESTION

Firebase Onesignal Multiple dex files define Lcom/google/android/gms/auth/api/signin/zzc – Facebook api

My android/app/build.gradle (bottom): dependencies { compile project(':react-native-onesignal') compile project(':react-native-youtube') compile(project(":react-native-google-sign-in")) { exclude group: "com.google.android.gms" } compile project(':react-native-svg') compile project(':react-native-facebook-login') compile project(':react-native-i18n') compile fileTree(dir: "libs", include: ["*.jar"]) compile "com.android.support:appcompat-v7:23.0.1" compile "com.google.android.gms:play-services-auth:10.0.1" compile "com.facebook.react:react-native:+" // From node_modules } // Run this once…

VIEW QUESTION
Back To Top
Search