SFSRoom objects are missing information
-
- Posts: 15
- Joined: 26 Sep 2013, 09:28
SFSRoom objects are missing information
When inspecting any returned SFSRoom object the userCount property returns the correct value but the userList returns an empty array. I guess this is why the isJoined property also returns NO and the method getUserByName always returns nil.
Re: SFSRoom objects are missing information
You must join the Room before those informations are available.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
-
- Posts: 15
- Joined: 26 Sep 2013, 09:28
Re: SFSRoom objects are missing information
I have joined the room. i can send messages to it without receiving [SFS WARN] You are not joined in the target Room.
-
- Posts: 15
- Joined: 26 Sep 2013, 09:28
Re: SFSRoom objects are missing information
i should say I'm inspecting room objects that are returned in delegate method event params.
Re: SFSRoom objects are missing information
What is the version of the API.
Try printing the version property of the main SFS object.
Maybe you are using and old version. I don't think we have ever seen a problem like this, nor it's ever been reported. Take in consideration that all our iOS examples work by correctly displaying the room list, so it might be something else.
let us know.
Try printing the version property of the main SFS object.
Maybe you are using and old version. I don't think we have ever seen a problem like this, nor it's ever been reported. Take in consideration that all our iOS examples work by correctly displaying the room list, so it might be something else.
let us know.
-
- Posts: 15
- Joined: 26 Sep 2013, 09:28
Re: SFSRoom objects are missing information
We're currently working on a major update to make the API pure ARC.
As soon as we're finished we'll go through some of the bug reports including yours.
Meanwhile can you explain how this should work in details?
How many rooms are you joining at once and which of the joined rooms doesn't seem to report the correct data?
Can you give us a step by step description of your steps?
Thanks
As soon as we're finished we'll go through some of the bug reports including yours.
Meanwhile can you explain how this should work in details?
How many rooms are you joining at once and which of the joined rooms doesn't seem to report the correct data?
Can you give us a step by step description of your steps?
Thanks
-
- Posts: 15
- Joined: 26 Sep 2013, 09:28
Re: SFSRoom objects are missing information
I'm currently putting together a couple of test projects for you to outline the problems i am seeing. I will email over when complete.
-
- Posts: 15
- Joined: 26 Sep 2013, 09:28
Re: SFSRoom objects are missing information
Hi Lapo.
Did you receive the example project? Have you made any progress with this?
Did you receive the example project? Have you made any progress with this?
Re: SFSRoom objects are missing information
Hi,
since we're talking about something that was posted 6 months ago I am not sure. Sorry.
Which email did you send it from?
since we're talking about something that was posted 6 months ago I am not sure. Sorry.
Which email did you send it from?
-
- Posts: 15
- Joined: 26 Sep 2013, 09:28
Re: SFSRoom objects are missing information
I will private message you my email
Re: SFSRoom objects are missing information
Additional note: we have updated the API since then. Have you tested with the latest release?
I think the problem has been addressed.
http://www.smartfoxserver.com/download/sfs2x#p=client
I think the problem has been addressed.
http://www.smartfoxserver.com/download/sfs2x#p=client
-
- Posts: 15
- Joined: 26 Sep 2013, 09:28
Re: SFSRoom objects are missing information
I may have been a bit dumb and had a old version in my project while thinking i had the project pointing to the latest version of the SDK.
I will test and report back. Thanks for the quick response
I will test and report back. Thanks for the quick response
-
- Posts: 15
- Joined: 26 Sep 2013, 09:28
Re: SFSRoom objects are missing information
Everything looks fixed. Thanks for this
Return to “SFS2X iPhone / iPad / OSX API”
Who is online
Users browsing this forum: No registered users and 53 guests