a!isNativePhone does'nt work

I tried to hide some components inside interface when the user logged in from a phone, and test it usnig appian mobile application, but it still show the components while the user is using the mobile applcation

  Discussion posts and replies are publicly visible