putClass and Java package names
Posted: 10 Apr 2013, 18:15
This is my first time working with SFS and its iOS SDK. I hope I haven't overlooked some obvious documentation on this issue. I searched through all of the iOS example projects and couldn't find the answer.
On the server and Android side of this project, putClass() is used to send a value object with a package path, such as: com.mycompany.product.ValueObject.
I'm attempting to send the same value object via iOS, but it seems the SFS SDK uses NSStringFromClass() or something similar to get the class name of the "id" I pass as an argument to putClass(). That class name obviously doesn't have the same lengthy package path that the server expects.
Are there any work-arounds to this other than ditching putClass() entirely?
Thanks for your help.
On the server and Android side of this project, putClass() is used to send a value object with a package path, such as: com.mycompany.product.ValueObject.
I'm attempting to send the same value object via iOS, but it seems the SFS SDK uses NSStringFromClass() or something similar to get the class name of the "id" I pass as an argument to putClass(). That class name obviously doesn't have the same lengthy package path that the server expects.
Are there any work-arounds to this other than ditching putClass() entirely?
Thanks for your help.