-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Remove push_id
and push_time
from push notifications
#9126
Comments
Thanks for opening this issue!
|
Dropping this here as my initial investigation: When a push is received in an Android app using official Parse Android SDK, the message is handled by the This method extracts
There is a comment atop of the
So in order to remove
Once we verify these two are handled, we can simply drop them from the Parse Android SDK, along with the history, and start propagating updated SDK to the clients. Later after some years we can remove them from the The risk is that clients in the wild using old Parse Android SDK will stop receiving pushes - will start dropping pushes because of lack of |
Thanks for the investigation. Sending these params can be off by default already in the next Parse Server 8 release. We should just make sure to offer the corrected Android SDK at the point. We would have to check wether other Parse repos use these params. A quick org-wide search for these params on GitHub shows occurrences in the following repos:
|
From what I could see, I believe the params exist only to workaround problematic behaviour of GCM, and I can imagine a client side workaround in the SDK. But anyway, here we are, so the sooner we investigate/confirm that FCM behaves sanely, and the sooner we release updated Android SDK, the better... for the cleanup of SDK and Push Adapter. Additionally I can imagine a fix where we can actually lift the |
New Feature / Enhancement Checklist
Current Limitation
See parse-community/parse-server-push-adapter#237 (comment);
push_id
andpush_time
seem to be legacy keys. Their purpose should be investigated. Maybe they can be removed.Feature / Enhancement Description
Removal with care, as Parse Android SDK and developers' custom apps may use these keys for something, so they cannot be just removed but must be made optional for phasing out.
The text was updated successfully, but these errors were encountered: