The default pageName has the value of AppName/AppVersion and can be overwritten via passing the &&pageName key through contextData.

Environment

Adobe Mobile SDK (iOS or Android)

Steps

To overwrite the pageName you must pass the &&pageName key in the contextData

iOS Sample code snippet

NSMutableDictionary *contextData = [NSMutableDictionary dictionary];
  [contextData setObject:@"MyCustomPageName" forKey:@"&&pageName"];
  [ADBMobile collectLifecycleDataWithAdditionalData:contextData];

Android Sample code snippet

HashMap contextData = new HashMap();
   contextData.put("MyCustomPageName", "&&pageName");
   Config.collectLifecycleData(this, contextData);

Този материал е лицензиран под лиценз Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported  Публикациите в Twitter™ и Facebook не попадат под клаузите на Creative Commons.

Правни бележки   |   Правила за онлайн поверителност