-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Keep docs up-to-date (es6, fcm-node, json/quote) #1740
Comments
@fredgalvao - is it possible that we can move the second task to a seperate issue?
Happy to update the es6 and json code in the examples, but have no idea about Firebase have never used it before. |
@jacquesdev Please do! There's nothing that prevents these inner tasks to be broken and done separately. |
@fredgalvao -about official Firebase lib - I started using it and it is quite opinionated about how the message is sent - it currently supports only string properties so anything else (include, for example, the I'd be happy to share my experience/code as I gain familiarity with admin-fcm (not a great markdown writer or an expert node js - but whatever I can do help, I'd happily try to... Maybe a different issues is indeed in order? P.S. I search for both admin-fcm and "value must be string" (which is the error I get using the official library) but didn't find any issue here (and in SO either). If there is such issue - sorry for "spamming" here (and let me know what it is so I can learn). |
@tomercagan I'm not at all familiar with the details regarding fcm-node, however I might agree that said project being so (mis)opinionated might be an issue for some attributes on our API. However, I'd guess that we could still document most of the usages with some version or workaround using fcm-node or whatever is the most up-to-date lib.
Don't worry about that if you want to help document the plugin. We can always review and improve on formatting on a pull request, for example.
We can always break this into smaller issues and separate PRs, there's no holding back. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
The js code was rewritten for a transpiler in mind, and the json/js portions of the doc have been reviewed multiple times since then. |
Expected Behaviour
Actual Behaviour
var
usagefcm-node
, when we now have official support from FirebaseWe should review the docs to make use of a more modern dialect of javascript when refering node.js context.
var
->let
is just the most visible change, there might be others.Firebase node.js package
Copied verbatim from #1736 (comment) , see source for more context.
The text was updated successfully, but these errors were encountered: