How to get list of users in parsing using Android application

We are developing a push notification using android, and we are doing this by sending a push notification to a mobile phone with three mobile phones. Now we need to get the list of users from the parsing. In fact, we are judged with this, but we only get the current user.

String i=ParseInstallation.getCurrentInstallation().getString("user") ;

The above line retrieves only the current user, but we need a list of all users in the Parse installation.

enter image description here

We need a list of names like sam , sony , tab according to the screenshot.

+5
source share
1 answer

Such a request cannot be performed with the client without leaving the private keys in the application that you do not want to do.

I accessed this using an intermediate server that requests an Android application, and then the intermediate server uses the Parse Rest API for requests to get the required information without leaking your keys to the outside world and returning it to the client.

You can also use Cloud Modules to write your own JavaScript that executes requests on your own Parse servers.

0
source

All Articles