Appsee Support

How can I join, rename or ignore specific screens?

If you would like to rename, join or ignore specific detected screens, you can do so using the appseeScreenDetected function which is fired once Appsee has detected a new screen.

You can instruct Appsee to ignore the new screen (by setting the key value to null) or to rename the detected screen (by overriding it's value). See the code examples below for more details.

For iOS

For iOS, please use appseeScreenDetected. Here is an example:

// Set your AppDelegate as the Appsee delegate
@interface MyAppDelegate : UIResponder <AppseeDelegate>

[Appsee setDelegate:self];

-(NSString *)appseeScreenDetected:(NSString *)screenName
{
  // To ignore a new screen 
   if ([self someLogic1:screenName])
     return nil;

  // You can also change the screen's name
  if ([self someLogic2:screenName])
     return "MyScreen";

  // Default implementation should keep screen as is
   return screenName;
}

For more information, please refer to the iOS API Reference

For Android

For Android, please use onAppseeScreenDetected. Here is an example:

// Set your AppDelegate as the Appsee delegate
Appsee.addAppseeListener(new AppseeListener() {

....

@Override
  public void onAppseeScreenDetected(AppseeScreenInfo screenInfo)
    { 
      // To ignore a new screen 
      if (someLogic1()) 
      screenInfo.setScreenName(null); 
      // You can also change the screen's name 
      if (someLogic2()) 
      screenInfo.setScreenName("MyScreen")); 
    }
});

For more information, please refer to the Android API Reference

 

Did you find this article helpful?