Changing Default Flag_secure Toast Message In Android Kotlin
I have used the following code in my android app, to prevent the user from taking screenshots, or screen recording: if(android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSI
Solution 1:
how to change this toast message?
You can't. That message is coming from the OS, not your app. Whether such a message exists, and what it looks like and contains, will depend on the OS version and deivce manufacturer modifications.
how to show another toast message with it when a screen record or capture is detected?
You can't, as your app is not detecting these events. The OS is.
Post a Comment for "Changing Default Flag_secure Toast Message In Android Kotlin"