User Login w/ Firebase: Part 8 (Firebase Pt. 1) - UIKit Swift 5 Xcode

Поделиться
HTML-код
  • Опубликовано: 4 дек 2024

Комментарии • 5

  • @uxaines8910
    @uxaines8910 2 года назад +1

    excited for NodeJS part

  • @FruttaBoba
    @FruttaBoba Год назад +1

    Actually thank you so much for helping me solve a problem I've had for a couple of days now. However I am using realtime database for my app so if there's anyone wondering how to replace the "db" and ".collection" here's what to replace the segment with.
    Code below ----------------------------------------------------------
    let data: [String: Any] = [
    "username": username,
    "email": email,
    "password": password
    ]

    let db = Database.database().reference().child("users").child(resultUser.uid)
    db.setValue(data) { error, _ in
    if let error = error {
    completion(false, error)
    return
    }
    completion(true, nil)
    }

  • @alyonaKisha
    @alyonaKisha Год назад

    thanks for great tutorial!

  • @catSlave3079
    @catSlave3079 Год назад

    thanks a lot!!

  • @АртемНикитин-п7г

    Firestore Database -> Rules, need change false to true