There is no programmatic method for changing/settings these values. You can, of course, change the plist values and when we execute, we'll use whatever value is found in the current plist. But what it sounds like what you would prefer is a method for get/set on each of these values.
Sounds like a reasonable feature to add I agree.
do you have any idea whether this feature is going to be implemented at all? Being able to set the DCSID from code is something that I could use too.
One obvious use case would be for universal iOS apps, which would enable using 2 different DCSIDs, one for iPhone & one for iPad. Something that isn't possible with the current .plist implementation.
I am using the static library and trying to set the DCSID from code. I've universal app with same code base and 4 DCSIDs (iPhone - test and prod, iPad test and Prod).
Is there a method in the framework to set the DCSID runtime instead of writing custom code to reset the DCSID setting from plist file based on the device and runtime environment?
other alternative i am thinking of is, instead of using static library, directly using the rest API for posting data.
Since the URL needs to be formatted manually, right DCSID can be set from the code.
if anyone has already run into this scenario, can you post your feedback?