I have following questions:
1. How to check if any user is logged in?
2. Is there any way to know what are the channels to which current user/device is subscribed?
3. Encountered following error while adding user1 as friend of user2
Received {
"meta": {
"status": "fail",
"code": 500,
"message": "Internal server error. The Cocoafish Team has just been notified of this problem."
}
}
When adding friends feature will start working?
4. Created channels and subscribed users to channels but no push notification gets delivered. I get following response from server. Is this the expected response?
Received {
"meta": {
"status": "ok",
"code": 200,
"method_name": "Notify"
}
}
5. Error in documentation:
In the Show friends section of documents(iOS), following snippet is given to handle the response
NSArray *friendRequests = [response getObjectsOfType:[CCFriendRequest class]];
for (CCFriendRequest *request in friendRequests)
{
;
}
But XCode complains : use of undeclared identifier CCFriendRequest, did you mean friendRequests? Replacing CCFriendRequest with friendRequests does not solve the problem either. What is correct replacement for CCFriendRequest?
Thanks,
Amol
Hi Wei,
Thanks for the answers.
On the part of not receiving push notification, I have uploaded iOS
push notification certificate. If certificate is not uploaded I will
expect a response from server stating that, but response from server
seems OK.
March 13, 2012 6:56 AM
I have following questions:
1. How to check if any user is logged in?
2. Is there any way to know what are the channels to which current user/device is subscribed?
3. Encountered following error while adding user1 as friend of user2
Received {
"meta": {
"status": "fail",
"code": 500,
"message": "Internal server error. The Cocoafish Team has just been notified of this problem."
}
}
When adding friends feature will start working?
4. Created channels and subscribed users to channels but no push notification gets delivered. I get following response from server. Is this the expected response?
Received {
"meta": {
"status": "ok",
"code": 200,
"method_name": "Notify"
}
}
5. Error in documentation:
In the Show friends section of documents(iOS), following snippet is given to handle the response
NSArray *friendRequests = [response getObjectsOfType:[CCFriendRequest class]];
for (CCFriendRequest *request in friendRequests)
{
;
}
But XCode complains : use of undeclared identifier CCFriendRequest, did you mean friendRequests? Replacing CCFriendRequest with friendRequests does not solve the problem either. What is correct replacement for CCFriendRequest?
Thanks,
Amol
Not working yet.Is it working now?
March 15, 2012 3:18 AM
Hi Wei,
Thanks for the answers.
On the part of not receiving push notification, I have uploaded iOS
push notification certificate. If certificate is not uploaded I will
expect a response from server stating that, but response from server
seems OK.
March 14, 2012 1:28 PM
Hi Alekhine,
March 13, 2012 6:56 AM