Firebase stores data in a link-based manner that allows you to add and query the information really simple. The NativeScript Firebase plugin makes the operation much simpler with an easy-to-use API. So, let's discover how we can perform such operations. In this recipe, we're going to see how we can add and retrieve data in NativeScript and Firebase.
Pushing/retrieving data from the Firebase Realtime Database
Getting ready
Before we begin, we need to make sure that our application is fully configured with Firebase. For that, you can refer to the preceding Adding the Firebase plugin to our application recipe, which will teach you how you can do that.
You will also need to initialize the Firebase plugin with the...