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

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy