fire-sharp

Using Firesharp for Windows desktop push notifications only

假如想象 提交于 2020-04-18 01:05:19
问题 I want to use Firesharp in a desktop application for Windows. The application will only receive notifications from Firebase, and there will be no database interactions of any kind (Firebase Cloud Messaging / FCM is the only thing used from Firebase), nor will there be a web / Firebase database. The Windows application will be subscribed to a specific topic in the project, and will constantly monitor it for new messages. My problem is that I'm unsure how to create the config object shown in

How to add data from Firebase to DataGridView using FireSharp

不羁岁月 提交于 2020-01-17 00:38:50
问题 I just want to retrieve data from a Firebase to DataGridView. The code I have is retrieving data already, however, it's retrieving everything to the same row instead of creating a new one. I'm a beginner in coding, so I really need help with that. I read online that Firebase doesn't "Count" data, so it'd be needed to create a counter, so each time I add or delete data, an update would be needed. I did it and it's working. I created a method to load the data. private async Task firebaseData()

Setting custom key when pushing new data to firebase database

可紊 提交于 2019-12-18 11:00:33
问题 Well, I am new to Firebase and I want to have my own keys while pushing new data to database. Problem: FireBase.push().setValue(mapped_values); This gives structure like below: How can I create my own custom key there? Such as username or something. 回答1: Calling push() will generate a key for you. If instead you use child() , you can determine they key/path yourself. ref.child("Victor").setValue("setting custom key when pushing new data to firebase database"); 回答2: String key="1234567sdfsf8";