Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Offline-Mode


For Android and iOS version, springKantar Media Audiences-lib has a feature the so-called "offlineMode". This mode can be switched on and off by using public API: setOfflineMode (boolean offlineMode)

If the lib is configured to offlineMode, spring Kantar Media Audiences library will hold all requests in a local buffer and send them when the device goes back online.
The Kantar Media Audiences-lib checks the Internet connection regularly by using the Android/iOS Timer and sends the data as soon as possible.

...

  • Old requests will be dropped if too many requests pump into local buffer for the limitation in buffer size. 
  • The default buffer size is 500.
  • The data will be stored in a local file, so the lib will not lose the requests even if the application terminates
  • the springKantar Media Audiences-lib tries to send the requests in a fixed rate, 10 seconds by default, and sends them if device is online again

...

Note

Please attention:
Apple will reject all the applications which retrieve Advertising ID (ai) but with no advertising content provided.

So Advertising-Framework is linked as optional in Kantar Media Audiences lib,
If the Advertising ID should be used as udid, please import Advertising-Framework into your projects.



Migration to iOS9 (warning)


URL Scheme White-listing

Starting on iOS9, iOS apps will have to declare what URL schemes they would like to be able to check for and open in the configuration files (plist file) of the app as it is submitted to Apple.
So if your application is combining with a specific "Panel App" (e.g. Virtualmeter App), please register the URL scheme in your application, the syntax is as following:

...

 

Code Block
<key>NSAppTransportSecurity</key> 
 <dict> 
         <key>NSAllowsArbitraryLoads</key> 
         <false/> 
         <key>NSExceptionDomains</key> 
         <dict> 
             <key>*****</key> //please change ***** to the parameters given in your library delivery 
             <dict> 
                 <key>NSIncludesSubdomains</key> 
                 <true/> 
                 <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key> 
                 <true/> 
                 <key>NSExceptionRequiresForwardSecrecy</key> 
                 <false/> 
             </dict> 
         </dict> 
     </dict>
Note
if ATS is not enabled in your application, as NSAllowsArbitraryLoads = true, then you don't need to modify anything.

 

...

Bitcode is a new feature on iOS 9, an intermediate representation of a compiled program. Now you have the new Kantar Media Audiences lib with bitcode BitCode enabled , for your application you have the chance to enable or disable the bitcode BitCode service.

Android Identifier

...