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);

Dette arbejde har licens under en Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Opslag på Twitter™ og Facebook er ikke omfattet af vilkårene for Creative Commons.

Juridiske meddelelser   |   Politik for beskyttelse af personlige oplysninger online