tbib_secure_screen 1.0.0 copy "tbib_secure_screen: ^1.0.0" to clipboard
tbib_secure_screen: ^1.0.0 copied to clipboard

this package for make screenshot or screen recorder with blank screen after save.

tbib_secure_screen #

this package for make screenshot or screen recorder with blank screen after save.

Getting Started #

  • Android configuration not need do any thing

  • Ios configuration go to AppDelegate.swift

import UIKit
import Flutter
import tbib_secure_screen


@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
  override func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  ) -> Bool {
       TbibSecureScreenPlugin.register(with: self.registrar(forPlugin: "tbib_secure_screen")!)
   TbibSecureScreenPlugin.shared?.initSecure()
    GeneratedPluginRegistrant.register(with: self)
    return super.application(application, didFinishLaunchingWithOptions: launchOptions)
  }

    override func applicationWillResignActive(
    _ application: UIApplication
  ) {
     TbibSecureScreenPlugin.shared?.blurScreen()
  }
  override func applicationDidBecomeActive(
    _ application: UIApplication
  ) {
     TbibSecureScreenPlugin.shared?.removeBlurScreen()
  }
}

Note #

In iOS the screen will be blank anywhere in the app and not in a specific screen, this means it will be activated automatically.

Android work in specific screen

You need call this to active plugin in flutter (Android) #

  TBIBSecureScreen().setSecureScreen();

You need call this to un active plugin in flutter (Android) #

   TBIBSecureScreen().setUnsecureScreen
7
likes
160
points
51
downloads

Publisher

unverified uploader

Weekly Downloads

this package for make screenshot or screen recorder with blank screen after save.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on tbib_secure_screen

Packages that implement tbib_secure_screen