I'm trying to setup a sending web push messages to browsers in java, with firebase-admin sdk 7.0.0
In the firebase console code snippet (and also in some example I found online), they use the deprecated constructor
FirebaseOptions options = new FirebaseOptions.Builder()
.setCredentials(GoogleCredentials.fromStream(serviceAccount)).build();