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 crash when using AnyEncodable payload for alert and background notifications #200

Merged

Conversation

grighakobian
Copy link
Contributor

@grighakobian grighakobian commented May 21, 2024

In this update, I've addressed an issue where using AnyEncodable for user-provided notification payloads caused a crash during alert or background notifications. These changes resolve the crash and ensure stable handling of AnyEncodable payloads.

@wangzhizhou
Copy link
Contributor

This Merge fixed the problem described in: Flight-School/AnyCodable#80

@wangzhizhou
Copy link
Contributor

may we wait for an release version

@wangzhizhou
Copy link
Contributor

@grighakobian Can you describe the reason caused this problem?
Change the encode method order resolved this problem?

@grighakobian grighakobian deleted the bugfix/encoder-issue branch September 4, 2024 20:13
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