As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
You always have a user logged in ! I'm using a "guest" user for users who are not logged in.
Damien Bell
said
over 8 years ago
Thanks for the assist here Fabreax,
Fabreax is correct. With kinvey, any query needs to be made by a user. We do allow for service-accounts / anonymous accounts to be used for queries like this.
Mark Thien
Hi guys,
I need to do a query on a collection without login a User. I tried below but always failed.
final AsyncAppData<Company> aggregate = AppController.getInstance().getKinveyClient().appData("company", Company.class);
Query q = AppController.getInstance().getKinveyClient().query();
q.addSort("name", AbstractQuery.SortOrder.ASC);
aggregate.get(q, new KinveyListCallback<Company>() {
@Override
public void onFailure(Throwable t) {
Log.d(TAG, "Error fetching data: " + t.getMessage());
}
@Override
public void onSuccess(Company[] company) {
Log.d(TAG, "companyname : " + company[0].getName());
}
});
and if I login a User successfully then ok:
AppController.getInstance().getKinveyClient().user().login(username, password, new KinveyUserCallback() {
});
Hello,
You always have a user logged in ! I'm using a "guest" user for users who are not logged in.
- Oldest First
- Popular
- Newest First
Sorted by Oldest Firstfabreax
Hello,
You always have a user logged in ! I'm using a "guest" user for users who are not logged in.
Damien Bell
Thanks for the assist here Fabreax,
Fabreax is correct. With kinvey, any query needs to be made by a user. We do allow for service-accounts / anonymous accounts to be used for queries like this.
Thanks,
-
Can I add KinveyReferences and other custom Arrays to the User entity?
-
How can I use custom enums within my Entity?
-
Linking an image does not save with LinkedData
-
How can I get all records saved by the current user?
-
Why don't all users see the same data when querying?
-
Retrieving related file from datastore collection - continued
-
Problem implementing sign up / login
-
Can Android API be used for Java?
-
I'm not receiving push notifications
-
It is impossible to receive object according to the link
See all 259 topics