I am using firebase admin sdk in my spring boot app. (API app) When I run locally in intelliJ its working fine. But when deployed in tomcat its giving me NPE. In Springboot application In API code ERROR: Can someone help in fixing this issue. Thank you in advance. Answer You shouldn’t create an instance of Firebase like this in
Tag: firebase-admin
How to move from deprecated Task to ApiFuture for firebase admin SDK 5.4 and above
I’m just trying to solve the deprecation notes from my Java code of new firebase-admin SDK, the code is written in version 5.3.1 but after upgrading the version into 5.5.0 the deprecation notes appeared, here is a sample of my code: Using FirebaseAuth (deprecatation on: Task, addOnSuccessListener and addOnFailureListener) : And for FirebaseDatabase (deprecatation on: Task, addOnSuccessListener, addOnFailureListener, updateChildren and