Adds documentation in the README about how to provide FB credentials #112
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello everyone,
Using
FCM
I've come across the same issue as #110.We are a bit confused about how to pass the firebase credentials safely from an ENV variable.
Digging around the lib, I've found two things:
FCM
comes fromgoogleauth
gem that requires ajson_key_io
responding to#read
(source).#read
as credentials instead of a file pathOnly thing is that the usage of an IO is a bit hidden in the test suite here or in the codebase here.
So here I am suggesting adding a small part about it in the readme.
Feel free to ask for a rewording or more details.