how do i Disable Flag Secure

Support
  • This is for android manager 2.8 automation please put in the right category
    Am trying to get xpath from android app with appium inspector i keep getting
    Could not obtain screenshot: unable to capture screen: Failed to capture a screenshot.
    Does the current view have 'secure' flag set?
    so please how do i Disable Flag Secure or get xpath without flag secure stopping it