Versions Compared

Key

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

Offline-Mode


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

If the lib is configured to offlineMode, KMA_SpringStreams library will hold all requests in a local buffer and send them when the device goes back online. 

KMA_SpringStreams lib checks the internet connection regularly by using the iOS Timer and send the data as soon as possible.

...

For more information, check the chapter about offline-mode below.


iOS Identifiers


Device ID (did)Advertising ID (ai)Mac ID (mid)ID_For_Vendor (ifv)
iOS4------(plus)---
iOS5------(plus)---
iOS6---(plus)(plus)(plus)
iOS7---(plus)---(plus)
iOS8---(plus)---

(plus)

iOS9

(plus)

(plus)


Considering that the Apple private policy is changing all the time, Kantar Media Audiences libs have to adapt different UDIDs for identifying the end user's devices.

...


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.


...