-
-
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
Client push unavailable #396
Comments
After disabling it, I was able to validate user and channel pushes though! |
Hi @rogerhu, as we said in wiki, we do not officially support client push yet. The main reason is related to security. Since you will distribute the app with your clientKey, malicious users can use that to send push notifications to your app users if you enable client push. For Parse.com, we have the dashboard to remind you and allow you to change this setting. It is disabled by default. For open parse server, we simply disable the client push at the beginning. Compared to client push, we always recommend developers to use cloud functions to send push notifications. |
Yep makes sense thanks! |
Thanks again for the input...the security concerns are duly noted. Wondering if there's a PR that you have? We have a bunch of group projects that are going to be spinning up hosted Parse so curious to see if we'll be able to get it so it can be supported. Thanks! |
I encountered the same too Could you please send us the solution? |
Are you trying to send a push from Android? We are not going to support that, you should call a cloud function and send the push from there. If you're having a problem just registering for push, not sending, please re-open. |
How to send client push notifications for multiple users using cloud code? I am able push to single user with help of this link (I am unable to come up with Query for multiple users?) |
After #311 got merged I started testing it again. I started seeing
"Master key is invalid, you should only use master key to send push'" on Parse push registrations.
I don't believe the Android SDK has the ability to send a master key ( (https://www.parse.com/questions/using-master-key-with-android). so I had to disable this line to get push notifications registered.
Is it possible to remove this validation until the Android/iOS SDK's enable this possibility?
@wangmengyan95
The text was updated successfully, but these errors were encountered: