InitBuddyListRequest fails for a new logged user
Posted: 22 May 2013, 18:12
Hi guys
I'm using the last client for iOS + Smartfox server 2.6.0 and I'm having an issue with the InitBuddyListRequest.
In the app I'm currently developing, I can logout and login again with a new user. I was trying to use the same smartfox client instance but when I'm calling this method to init the buddy list again the result is a warning in the log console that says the buddy list is already executed and none of the expected events (the onBuddy Error or onBuddyListInit) are executed.
My doubt is how to execute the init buddy list for the new user or not and/or how to manage this issue. In the meanwhile, I'm creating a new instance after each logout and it works but I don't think if that is correct.
Thanks
I'm using the last client for iOS + Smartfox server 2.6.0 and I'm having an issue with the InitBuddyListRequest.
In the app I'm currently developing, I can logout and login again with a new user. I was trying to use the same smartfox client instance but when I'm calling this method to init the buddy list again the result is a warning in the log console that says the buddy list is already executed and none of the expected events (the onBuddy Error or onBuddyListInit) are executed.
My doubt is how to execute the init buddy list for the new user or not and/or how to manage this issue. In the meanwhile, I'm creating a new instance after each logout and it works but I don't think if that is correct.
Thanks