quickstart-java
quickstart-java copied to clipboard
Quickstart samples for Firebase Java Admin SDK
Hi, I get following error, despite I upgraded to 8.2.2. Error is coming back. I imported this file in Android Studio Hedgehog | 2023.1.1 Patch 2 I also took out...
I'm using below Java snippet to get the Authentication token for Firebase Messaging. But its throwing error during refreshIfExpired method call. private static String getAccessToken() throws IOException { String[] SCOPES...
the remote config sample wont work because newer versions os gradle/android studio wont accept the `compile `instruction
I was trying to run database example just to see how it works. I created a desktop server app for my project, and I changed DATABASE_URL with mine and "service-account.json"...
I use the java server side sample then change the my `project_id` variable in `com.google.firebase.quickstart.Messaging.java' . The following logs show in my project. I don't know why. java.net.SocketException: Connection reset...
Is auth possible using the "sever" library? It seems as if it was in the past, but I can't find any examples today. https://github.com/firebase/firebase-simple-login-java
The example code only shows how to use the Http protocol connection to FCM. There should also be an example using the Admin SDK.
Running this on local machine with Java 8 ` FirebaseOptions options = new FirebaseOptions.Builder() .setCredential(FirebaseCredentials.applicationDefault()) .setDatabaseUrl("https://" + ServiceOptions.getDefaultProjectId() + ".firebaseio.com/") .build(); ` `firebaseDatabase = FirebaseDatabase.getInstance(FirebaseApp.initializeApp(options)); final DatabaseReference entry = firebaseDatabase.getReference("somereference");...
Enable java admin sdk to sign in users and allow the ability to create ID tokens.
Just a quick question about the compatibility of the lib with the latest version of Google Guava which led me to some problems when I updated my project to the...