Skip to content
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

Support for HTTP v1 API #13

Open
danielxvu opened this issue Nov 6, 2019 · 4 comments
Open

Support for HTTP v1 API #13

danielxvu opened this issue Nov 6, 2019 · 4 comments

Comments

@danielxvu
Copy link

danielxvu commented Nov 6, 2019

Hi,

This seems to be the most popular Elixir library for interfacing with Firebase Cloud Messaging so I thought I'd open a feature request here first. The current Firebase docs recommend that users eventually migrate over to the HTTP v1 API. Are there any plans to add support? Or would you rather accept a pull request?

Thanks for the work!

@shufo
Copy link
Owner

shufo commented Nov 7, 2019

@danielxvu
Thanks for suggestion!

Are there any plans to add support?

Yes, The HTTP v1 API has some feature benefit like below, so it is planned to be implemented.

  • Better security via access tokens
  • More efficient customization of messages across platforms
  • More extendable and future-proof for new client platform versions

Pull Request would also very welcome!

I think it would be better to support both HTTP API and HTTP v1 API because the docs say

Caution: Any apps that use device group messaging may prefer to not upgrade. HTTP v1 does not support this feature of the FCM legacy API.

@dorian-marchal
Copy link

Hi, the Legacy HTTP API will soon be deprecated:

API Name API Endpoint Impact on users Action Required
Legacy HTTP protocol API Endpoint Requests to the endpoint will start failing after 6/21/2024. Migrate to the HTTP v1 API.

Is there any plans to support the new v1 API before then?

@shufo
Copy link
Owner

shufo commented Dec 6, 2023

@dorian-marchal
Thanks for notifying me.
Yes, I have a plan to support HTTP v1 API.
Maybe I will update in next 1 month or 2 month.

@dorian-marchal
Copy link

Hello @shufo will you find some time to support the new version, soon, by any chance? Thanks. 🙇‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants