update no_screenshot
This commit is contained in:
parent
4e6d3eb9b7
commit
7c253994e4
4 changed files with 4 additions and 4 deletions
|
|
@ -10,7 +10,7 @@ introduction_screen: 4a90e557630b28834479ed9c64a9d2d0185d8e48
|
|||
libsignal_protocol_dart: 618f0c0b49534245a640a31d204265440cbac9ee
|
||||
lottie: 4f1a5a52bdf1e1c1e12fa97c96174dcb05419e19
|
||||
mutex: 84ca903a3ac863735e3228c75a212133621f680f
|
||||
no_screenshot: 299c2d1d70448f23f1e9835a18585edfc9dbe6fa
|
||||
no_screenshot: 1b561a2a87c19e317f3cb225ed023b113c9dd3a1
|
||||
optional: 71c638891ce4f2aff35c7387727989f31f9d877d
|
||||
photo_view: a13ca2fc387a3fb1276126959e092c44d0029987
|
||||
pointycastle: bbd8569f68a7fccbdf0b92d0b44a9219c126c8dd
|
||||
|
|
|
|||
|
|
@ -273,7 +273,7 @@ class NoScreenshotPlugin : FlutterPlugin, MethodChannel.MethodCallHandler, Activ
|
|||
|
||||
private fun showImageOverlay(activity: Activity) {
|
||||
if (overlayImageView != null) return
|
||||
val resId = activity.resources.getIdentifier("image", "drawable", activity.packageName)
|
||||
val resId = activity.resources.getIdentifier("no_screenshot_image", "drawable", activity.packageName)
|
||||
if (resId == 0) return
|
||||
activity.runOnUiThread {
|
||||
val imageView = ImageView(activity).apply {
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ public class IOSNoScreenshotPlugin: NSObject, FlutterPlugin, FlutterStreamHandle
|
|||
// visible in the app switcher (otherwise the secure text field
|
||||
// would show a blank screen).
|
||||
disablePreventScreenshot()
|
||||
enableImageScreen(named: "image")
|
||||
enableImageScreen(named: "NoScreenshotImage")
|
||||
} else if isBlurOverlayModeEnabled {
|
||||
disablePreventScreenshot()
|
||||
enableBlurScreen(radius: blurRadius)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
name: no_screenshot
|
||||
description: Flutter plugin to prevent screenshots, detect screen recording, and show blur/color/image overlays in the app switcher on Android, iOS, macOS, Linux, Windows, and Web.
|
||||
version: 1.0.0
|
||||
version: 1.1.0
|
||||
homepage: https://flutterplaza.com
|
||||
repository: https://github.com/FlutterPlaza/no_screenshot
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue