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

Received Failure Notifications #118

Open
3 tasks done
RobbyMichelsPinch opened this issue Jul 20, 2021 · 0 comments
Open
3 tasks done

Received Failure Notifications #118

RobbyMichelsPinch opened this issue Jul 20, 2021 · 0 comments

Comments

@RobbyMichelsPinch
Copy link

RobbyMichelsPinch commented Jul 20, 2021

Describe the bug
When trying to receive background notifications (silent notifications), nothing happens. When we open de app again, in the debugger we receive a exception, Connection 6: received failure notification. But when we send normal notifications (with an alert: "" attribute, everything works just fine)

Exception or Stack Trace
Add the exception log and stack trace if available

To Reproduce
Steps to reproduce the behavior:

  • start up the app.
  • soft close the app
  • Send a background notification: { "aps": { "content-available":1 }, "data": { "type": "test" }}
  • Open the app
  • check Xcode debugging, it should contain a message: Connection x: received failure notification

Code Snippet
Add the code snippet that causes the issue.
{ "aps": { "content-available":1 }, "data": { "type": "HEALTH_ISSUE_CREATED" }}

Expected behavior
Nothing should happen, when connecting a device to Xcode, after sending the notification, open the app, a message should pop up with:
Connection x: received failure notification

Screenshots
If applicable, add screenshots to help explain your problem.
image

Setup (please complete the following information):

  • OS: [e.g. iOS 13.x]
    iOS 14.5.1
  • IDE : [e.g. Xcode 11.x]
    Xcode 12.5.1
  • Version of the Library used
    3.1.3

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Bug Description Added
  • Repro Steps Added
  • Setup information Added
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

1 participant