Closed masonlouchart closed 8 years ago
@jwngr what happened to that github repo?
Hey @LM450N, let's see if I can get you some answers:
Until yesterday, we could find the Firebase Admin SDK on Maven repository.
The link you shared in not actually the real Maven repository, it just a mirror of it. The link you want is this one.
We can still install it but the GitHub repo has disappeared.
That repo is a private repo which is why you cannot see it. How did you even get the URL for that in the first place?
I have an issue with the GSON dependency used by Firebase Admin SDK. It is using GSON version 2.6.2 which has an configuration issue. Please, update it to 2.7.0 or higher if possible.
I will look into upgrading it. Thanks for raising it to our attention.
Also, can I find some news about Firebase Admin Java SDK somewhere? I can't think Firebase team leaving its lovely community in the dark.
The release notes are here, a docs guide starts here, the API reference is here, and releases are tweeted from @FirebaseRelease. I even wrote a blog post on the Admin SDKs just last week. Is there something else you'd like to see from us?
Also, I should note, the source code for the Admin Java SDK is not open source, which is why you cannot access that.
Thank you for your answers. It's perfect! 💯
Today I tried to use this SDK on App Engine and I don't really understand why it's throwing the "IllegalStateException: This feature is only available to backend instances."
I mean, why App Engine instance is not considered as a backend? I'm using it only to expose the datastore through a REST API. My purpose is get user information from Firebase on App Engine. This could be a solution but it allows only to verify the OAuth token.
There is a setting parameter to define or it's simply not possible? I guess it's not the place to discuss about it 😄 .
What version of the Admin Java SDK are you using? We released a fix today with the 4.0.2
release which added back in support for Java 7, which is what GAE Standard runs on. Can you try using the latest release and see if that works for you?
In fact I was using the "firebase-server-sdk" meanwhile the new library to be compatible with Java 7. I just now tried with the "firebase-admin-sdk" (4.0.2) on App Engine 1.9.46 and I got the same error. Here a part of the StackTrace.
Ahhh, I think I know what is going on. Are you by chance using GAE automatic scaling? Unfortunately, the Firebase Java SDK currently only supports manual scaling. You can read this Stack Overflow question for some more info.
Yes my App Engine app is automatically scaled. I've read threads talking about scaling but not detailed as this one. I'll try it asap. Please, as soon as the teleportation will be available, call me, I'll send you a 🍺 .
Thank you a lot for your help!
Cheers, glad we got everything figured out 🍻
Until yesterday, we could find the Firebase Admin SDK on Maven repository. We can still install it but the GitHub repo has disappeared.
I have an issue with the GSON dependency used by Firebase Admin SDK. It is using GSON version 2.6.2 which has an configuration issue. Please, update it to 2.7.0 or higher if possible.
Also, can I find some news about Firebase Admin Java SDK somewhere? I can't think Firebase team leaving its lovely community in the dark. 🕵️