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

Push Notifications: Generate local notifications based on /sync result. #188

Closed
giomfo opened this issue Mar 29, 2016 · 3 comments
Closed
Labels
P2 T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements

Comments

@giomfo
Copy link
Member

giomfo commented Mar 29, 2016

tfheen has been investigating fixing the privacy leaking problems that we currently have on iOS by needlessly passing the msg bodies of all push notifications to Apple. would it be possible to look into generating notifications as Local Notifications based on the result of the /sync triggered by the APNS push, rather than displaying the actual APNS push?

@giomfo giomfo added T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements P1 labels Mar 29, 2016
@giomfo giomfo added P2 and removed P1 labels Apr 7, 2016
@giomfo giomfo modified the milestone: sprint2.1 May 25, 2016
@ara4n
Copy link
Member

ara4n commented Mar 20, 2017

See also matrix-org/synapse#1540. This is quite a major security issue.

@kfatehi
Copy link

kfatehi commented Apr 26, 2017

Looked into this a bit, because I did not think it's possible, but my knowledge was outdated, and it is indeed possible. http://stackoverflow.com/questions/11861117/can-push-notifications-be-used-to-run-code-without-notifying-user

With release of iOS 7 this is finally possible using Remote/Silent notifications. They work same as Push notifications but instead of alerting the user immediately they can fire up background fetch mode and upload/download new content.

Here is simple tutorial: http://www.objc.io/issue-5/multitasking.html

@ara4n
Copy link
Member

ara4n commented Jan 2, 2018

we do this these days :)

@ara4n ara4n closed this as completed Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements
Projects
None yet
Development

No branches or pull requests

3 participants