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

Add more ErrorReasons #94

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

50U10FCA7
Copy link

@50U10FCA7 50U10FCA7 commented Jan 20, 2025

Description

  • InvalidPushType error reason can occur if send notification type to the device not supported it (For example if send background notification to VoIP device token);
  • ExpiredToken error reason can occur if token was not used for a long time (or if the target application was uninstalled from the device?).

How Has This Been Tested?

"apns-push-type": "background" was sent to VoIP device to ensure InvalidPushType throws (works only on Endpoint::Sandbox).

Due Dilligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

@50U10FCA7 50U10FCA7 changed the title Add ErrorReason::InvalidPushType Add more ErrorReasons Jan 24, 2025
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.

1 participant