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

Mising aps key for iOS Payload #7

Closed
jetexe opened this issue Apr 18, 2019 · 0 comments · Fixed by #8
Closed

Mising aps key for iOS Payload #7

jetexe opened this issue Apr 18, 2019 · 0 comments · Fixed by #8
Labels
bug Something isn't working

Comments

@jetexe
Copy link
Collaborator

jetexe commented Apr 18, 2019

Describe the bug

Payload for iOS must contains aps key

Expected behaviour

Now payload builds like

'payload' => [
    'alert'             => [
        'title'          => $this->title,
        ...
    ],
    'badge'             => $this->badge,
    ...
],

Actual behaviour

And must be like:

'payload' => [
    'aps' =>
        'alert'             => [
            'title'          => $this->title,
            ...
        ],
        'badge'             => $this->badge,
        ...
],

Steps to reproduce the behavior:

Just send notification to iOS

System information

Any

@jetexe jetexe added the bug Something isn't working label Apr 18, 2019
@jetexe jetexe mentioned this issue Apr 18, 2019
5 tasks
@jetexe jetexe closed this as completed in #8 Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

1 participant