- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
I need to be able to use a constant in two of the values ADBMobileConfig.json
Reason: We're using different servers for Development and Production, and can't have the development data mixed with production Data. At build time we'll provide values based on the environment settings (development / production).
Thus, how can I use a constant value for "rsids" and server" file?
I'd like to be able to do something like this:
NSStirng *const kServerURL = @"www.google.com"NSStirng *const kRSID = @"123456""audienceManager" : {"server" : kServerUrl}{"version" : "1.0","analytics" : {"rsids" : kRSID // I know this won't work, but how does Adobe recommend I achieve this?"server" : "","charset" : "UTF-8","ssl" : false,"offlineEnabled" : true,"lifecycleTimeout" : 300,"privacyDefault" : "optedin","poi" : []},"target" : {"clientCode" : "","timeout" : 5},"audienceManager" : {"server" : kServerURL // I know this won't work, but how does Adobe recommend I achieve this?}}
Views
Replies
0 Likes
Total Likes