-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow passing InputStream for service account #18
Comments
Seems reasonable. Will add this to the next release. Do you also know if GoogleAuth tokens are reusable? And to what point? As it stands Pushraven is making a new auth token for each push. |
Yes they are reusable but calling |
Any news on the next release, would love to see this feature in |
Done! Thanks for the reminder! It might take a few hours to get published on Maven Central. You can find the jars in the Github release: https://github.com/Raudius/Pushraven/releases/tag/v2.1.0.2 |
You can now set the GoogleCredential object directly through the static method:
|
Great thanks! |
Currently, only File is allowed to send to the PushRaven API
If the user is loading the JSON from environment variables, it is not feasible or secure to save that to a file and then provide to PushRaven
Secondly, files are not present in ephemeral file systems provided by services like Google App Engine and Heroku
Thirdly, a developer could have also loaded GoogleCredentials for personal use of Firebase in his app and reloading the InputStream for the same purpose inside Pushraven would be somewhat unnecessary
The text was updated successfully, but these errors were encountered: