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

Discourage developers to check in their p8 file #348

Closed
wants to merge 6 commits into from

Conversation

joemasilotti
Copy link
Contributor

When sending iOS notifications developers must provide their p8 certificate file. The default codepath looks in the Rails app/ directory which requires checking in the file to source control.

This PR moves the default location to the credentials file.

Note that it is a breaking change for existing apps. I renamed the option to make it more clear what is expected.

We could keep the old method around but raise a deprecation warning when used. Or force a breaking change on folks to ensure the file isn't checked in.

@excid3
Copy link
Owner

excid3 commented Nov 8, 2023

I think this looks good. We will need a CHANGELOG entry for this and it will be a breaking change, so probably requires a major release.

@joemasilotti
Copy link
Contributor Author

Would you prefer to do a minor release with a deprecation warning? We are technically changing the property name - using the old (existing) one could log a warning.

@joemasilotti
Copy link
Contributor Author

@excid3, I added a CHANGELOG entry and merged in main. Let me know if there's anything else!

@joemasilotti joemasilotti requested a review from excid3 December 20, 2023 23:03
@excid3 excid3 closed this in e351b9b Jan 16, 2024
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.

2 participants