Disable screen record in ionic 3

How to disable screen record in ionic 3 ? i need for both platform(Android & IOS)

What are you actually trying to achieve? What happens when your app is run on a rooted device and/or emulator?