Category : firebase

When add new device through the app, added the details with pushing. And I searched through Google but could not find a solution I could get the json value from firebase. {"-MjPZs2_4wAg-81-y910":{"Place":"asd","State":"ON","Title":"szd – 1"},"-MjP_kgFyDFPZMlsTZpq":{"Place":"asasjdasd","State":"OFF","Title":"UDITHA – 2"},"-MjQ0t2JKQynjM6iMwfo":{"Place":"asasjdasd","State":"OFF","Title":"Gate – 3"},"-MjQ1MYaMn8atIsE6lmq":{"Place":"asasjdasd","State":"OFF","Title":"උදිත – 4"}} This code I used and it worked but that static. // String input; StaticJsonDocument<512> doc; ..

Read more

When add new device through the app, added the details with pushing. And I searched through Google but could not find a solution I could get the json value from firebase. {"-MjPZs2_4wAg-81-y910":{"Place":"asd","State":"ON","Title":"szd – 1"},"-MjP_kgFyDFPZMlsTZpq":{"Place":"asasjdasd","State":"OFF","Title":"UDITHA – 2"},"-MjQ0t2JKQynjM6iMwfo":{"Place":"asasjdasd","State":"OFF","Title":"Gate – 3"},"-MjQ1MYaMn8atIsE6lmq":{"Place":"asasjdasd","State":"OFF","Title":"උදිත – 4"}} This code I used and it worked but that static. // String input; StaticJsonDocument<512> doc; ..

Read more

I am trying to run a ASP.NET Core API to send FCM push notifications. The API works with Firebase SDK. The code is basically the one in the documentation: Initialize the default app, configPath being the JSON project configuration FirebaseApp.Create(new AppOptions() { Credential = GoogleCredential.FromFile(configPath), //JSON con API Key credentials }); Example of the payload ..

Read more

Actually, Whenever I use firebase for my python based GUI application, I face a very big problem that is when I close my application, It reopens 3 to 4 times. Basically, It automatically creates multiple instances of the same application. So that is why I can’t close my application by just closing the application window. ..

Read more

sign_in_with_email_and_password works well in dev env and Windows. create_user_with_email_and_password works well in dev env but crashs on Windows. Error message: requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://www.googleapis.com/identitytoolkit/v3/relyingparty/signupNewUser?key=AAAAAA999999 Because it’s working on my dev env and not Windows, is there something special to do ? Source: Windows..

Read more