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 support for silent notifications #33

Open
Amareis opened this issue Dec 5, 2017 · 8 comments
Open

Add support for silent notifications #33

Amareis opened this issue Dec 5, 2017 · 8 comments

Comments

@Amareis
Copy link

Amareis commented Dec 5, 2017

In Amareis@5f78eea I made support for silent notifications, using iOS 9 methods. Can we implement it in this fork? It's very useful feature.

@Amareis
Copy link
Author

Amareis commented Dec 6, 2017

@chrisjpalmer @CowboyCode hey, i see you are active contributors. Can you say something about subj?

@luigi37
Copy link

luigi37 commented Dec 10, 2017

Hi Amareis. What is the difference versus suppressing sound option in the payload?

@blumanski
Copy link

We dropped ios9, silent notifications should work already

@Amareis
Copy link
Author

Amareis commented Dec 11, 2017

@luigi37 silent notifications is not notifications, what not hears by users. It's when ios awake your app and give it chance to download some info updates from server, just Google "content-available ios"

@luigi37
Copy link

luigi37 commented Dec 11, 2017

I see so silent both in sound and visualisation, right? Does your code work for both android and Apple?

@Amareis
Copy link
Author

Amareis commented Dec 11, 2017

@luigi37 when your app sleep in background and notification is arrived, you may want to download some info from server. In android there is no problem, because android always awake your app when notification given, but ios will awake app only if you set "content-available" flag in notification payload

@luigi37
Copy link

luigi37 commented Dec 11, 2017

I see. Looks interesting

@chrisjpalmer
Copy link
Collaborator

Thanks. I will check out your fork and try and implement it. Time frame: 2 weeks, unfortunately I have a paid full time job.

Thanks

Chris

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

4 participants