ACS - What is working and what is not?

You must Login before you can answer or comment on any questions.

Hello,

I am trying to develop a iOS app based on ACS but there is a lot of problem. I got the photo upload solved (custom sizes) but I am constantly running into problems with other endpoints (not all).

For example. Now I need to query events created on my ACS but I get this error:

{
    line = 78;
    message = "'undefined' is not an object (evaluating 'Cloud.Events.query')";
    name = TypeError;
    sourceId = 167196672;
}
This is how I use it:
Cloud.Events.query ({
 
   user_id: Ti.App.Properties.getString('user_id')
 
}, function (e) {
I am using the 2.0.5 version of Ci.cloud.js.

Thankful for all help!

1 Answer

Accepted Answer

can you try 2.2.0 version of Ti.cloud.js?

— answered 9 months ago by Zhang XueFeng
answer permalink
3 Comments
  • Works fine! Thanks! I wish that information would go into the ACS docs asap. So that a user knows which endpoints works with which version of the Ti.cloud.js.

    — commented 9 months ago by Daniel Krusenstråhle

  • The answer is "use the latest version of the module to get the currently documented complete API'

    Next are you going to ask that they document whats available in TiMobile SDK 1.3.0 vs 2.1.0?

    — commented 9 months ago by Stephen Feather

  • I thought I used the latest version! No reason to be hostile Stephen...

    — commented 9 months ago by Daniel Krusenstråhle

Your Answer

Think you can help? Login to answer this question!