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

fix: use uri to make token storage key unique #239

Conversation

jmhossler
Copy link
Contributor

@jmhossler jmhossler commented Mar 17, 2023

We noticed there was an issue where fetching tokens for our development pushes were causing some conflicts with our pushes to release devices. This is a simple fix to ensure that the token generated for :dev or :prod have their own unique token lifecycle, since apple is finicky about how many times you request a token. It has been a bit since we made this fix but never got around to upstreaming it, so I forget the details on what error we were seeing a lot of.

dballance and others added 6 commits February 1, 2023 09:19
* fix: allow httpoison 2.0 (codedge-llc#236)

* fix: allow httpoison 2.0

* ci: fix workflows

* ci: revert to ubuntu-latest

* ci: use setup-beam@v1

* chore: update CHANGELOG

* docs: update README links

* fix: move token generation into Pigeon.APNS.Token (codedge-llc#227)

This means the token is only generated once and used across all workers

* chore: update CHANGELOG

---------

Co-authored-by: Henry Popp <hpopp@users.noreply.github.com>
Co-authored-by: Henry Popp <henry@codedge.io>
Co-authored-by: Andrew Timberlake <andrew@andrewtimberlake.com>
* fix: allow httpoison 2.0 (codedge-llc#236)

* fix: allow httpoison 2.0

* ci: fix workflows

* ci: revert to ubuntu-latest

* ci: use setup-beam@v1

* chore: update CHANGELOG

* docs: update README links

* fix: move token generation into Pigeon.APNS.Token (codedge-llc#227)

This means the token is only generated once and used across all workers

* chore: update CHANGELOG

---------

Co-authored-by: Henry Popp <hpopp@users.noreply.github.com>
Co-authored-by: Henry Popp <henry@codedge.io>
Co-authored-by: Andrew Timberlake <andrew@andrewtimberlake.com>
…onfigurations don't conflict with each other
@jmhossler jmhossler marked this pull request as ready for review March 17, 2023 22:16
@jmhossler
Copy link
Contributor Author

Is there anything I can do to get this reviewed? It's a relatively minor change but we are stuck using our fork until this gets consumed upstream.

@hpopp
Copy link
Member

hpopp commented Nov 24, 2023

Thanks for the patch! Finally getting around to reviewing everything. I'll have this out in the next RC.

@hpopp hpopp merged commit 210c33d into codedge-llc:master Nov 24, 2023
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

Successfully merging this pull request may close these issues.

3 participants