-
-
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
Push badge update to multiple object ids does not work #2903
Comments
https://github.com/ParsePlatform/parse-server/wiki/Push#api Here is the list of sending options we do not support yet:
|
the increment should work correctly, it seems that there is an error while trying to update the installations that you're targeting. Are the objectId all present in the database? |
I tested sending mesages using Curl with an objectId present in the database. I still get the 101 message as mentioned above in the logs on parse-server. Sending the same message using parse.com api (which is connected to same db) does work. So It seems that badge updates indeed don't work yet as mentioned on parse-server wiki. |
I'm not sure if related to the badge update or something else. If you put a 'static' badge value, or no badge value, what's the outcome (with the same where clause) |
Hi, it's probably somethings else. If I put e.g. 10 in that, it also does not work on parse-server (but does on parse.com). |
So that goes back to my question: |
yes. The test message I used only sends to one device which does exist in the db. The batch updates do work using parse.com on that device. |
what's the curl method/ logs, |
Hi, thanks for helping out here. Post data (push-increment.json):
The ObjectId does exist in the database. For testing purposes, I only use one device now. The curl command:
this works using parse.com, but if I do the same with our own parse server:
It also claims
|
one more thing, I noticed in the release notes of parse-server v2.2.3 that |
@flovilmart can you please help out? I provided all information that you requested. |
It will be fixed in next release |
Please read the following instructions carefully.
Check out #1271 for an ideal bug report.
The closer your issue report is to that one, the more likely we are to be able to help, and the more likely we will be to fix the issue quickly!
Many members of the community use Stack Overflow and Server Fault to ask questions.
Read through the existing questions or ask your own!
For database migration help, please file a bug report at https://parse.com/help#report
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!
Issue Description
Sending a badge update to selected object ids for ios does not work using parse v2.2.23
The following request works and the badge update is sent.
but, this (adding the '$in' condition) does not work:
parse logs show the following error
And If I use hosted parse.com API instead of our own hosted parse, the above request works without any issue.
Expected Results
Badge update should be sent
Parse dashboard shows status as success
Actual Outcome
Badge update is not sent.
Parse dashboard shows status as failed
Environment Setup
Logs/Trace
The text was updated successfully, but these errors were encountered: