Nudges - Handling Invisible Containers

If there is an invisible container, please follow the below steps for Product Experience SDK to ignore that container:

  1. Add a file named tags.xml in the values folder of resources.

  2. Add the following lines in tags.xml:

 <item name="hansel_ignore_view" type="id"/>
 <item name="hansel_ignore_view_excluding_children" type="id"/>//Supported from Nudge SDK v8.8.2

Note: If you want to ignore a view excluding its children views, you can use the method hansel_ignore_view_excluding_children.

  1. Add this as a tag to the transparent view that you want Product Experience SDK to ignore:
findViewById(, true);//Supported from Nudge SDK v8.8.2