0 Replies Latest reply on Oct 15, 2015 7:29 PM by kausi_ahmeds

    Adobe Mobile iOS: Providing constant values in ADBMobileConfig.json

    kausi_ahmeds Level 1

      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?}}