パッケージ、リポジトリ、アプリカテゴリを検索

secure_app_switcher のカバー
パッケージ詳細v1.0.0

secure_app_switcher

アプリスイッチャーまたはタスクリストでアプリ画面に安全なマスキング効果を適用します。

AndroidiOS
30日間ダウンロード
774
いいね数
37
Pub ポイント
150

パッケージをインストール

flutter pub add secure_app_switcher

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

secure_app_switcher パッケージは、デバイスのアプリスイッチャーまたはタスクリストでのアプリ画面のプレビューにマスク効果を適用することで、アプリのプライバシーを強化します。これにより、ユーザーが開いているアプリをスワイプする際に機密情報が表示されにくくなり、AndroidおよびiOSデバイスで追加のセキュリティ層を提供します。このパッケージは最小限の設定でFlutterアプリにシームレスに統合でき、マルチタスク中にアプリのビジュアル状態が隠れたままになります。銀行、医療、メッセージングプラットフォームなど機密データを扱うアプリに特に役立ちます。

用途

  • アプリスイッチャー内の機密UIプレビューの保護
  • 金融または医療アプリのセキュリティ確保
  • プライベートコンテンツの誤っての公開を防ぐ
  • マルチユーザー環境におけるプライバシーの向上
  • データ保護規制の遵守

主な機能

  • タスクスイッチャーでのマスキングアプリのプレビュー
  • クロスプラットフォーム対応(Android および iOS)
  • 最小限のセットアップが必要
  • 実行時パフォーマンスへの影響なし
  • アプリロジックを変更せずに動作します

適している対象

  • プライバシーに配慮したアプリケーション
  • 個人または機密データを処理するアプリ
  • ユーザーのセキュリティを最優先する開発者
  • エンタープライズグレードのモバイルアプリ
  • 高度なプライバシー制御を必要とするFlutterプロジェクト

注意事項

  • プラットフォーム固有の権限が必要です
  • すべてのデバイスメーカーで動作しない可能性があります
  • 視覚的なマスキングに限定され、アプリの完全な分離ではない
  • スイッチャー外で撮影されたスクリーンショットには影響しません
  • OSレベルの動作に依存し、変化する可能性があります

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

secure_app_switcher

Apply a safe masking effect to the app screen on the app switcher or task list.

Functions can be enabled/disabled within any process. It also provides a mechanism for switching functions on a screen-by-screen basis.

The effect is different for iOS and Android.

Usage

Use functions within arbitrary processing
import 'package:secure_app_switcher/secure_app_switcher.dart';

// ON
SecureAppSwitcher.on();

// OFF
SecureAppSwitcher.off();
Use functions on specific screens

It is necessary to set secureAppSwitcherRouteObserver to switch the function at the time of screen transition.

Wrap the target screen widget with MaterialPageRoute and SecureAppSwitcherPage.

  • secureAppSwitcherRouteObserver
@override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Secure App Switcher',
      onGenerateRoute: generateRoute,
      navigatorObservers: [secureAppSwitcherRouteObserver], // add
      initialRoute: '/',
    );
  }
  • SecureAppSwitcherPage, MaterialPageRoute
// Example: Case where the function is enabled on screen A

Route<dynamic> generateRoute(RouteSettings settings) {
  switch (settings.name) {
    case "/":
      return MaterialPageRoute(builder: (context) {
        return const HomeScreen();
      });    
    case "/screenA":
      return MaterialPageRoute(builder: (context) {
        return const SecureAppSwitcherPage( // add
          style: SecureMaskStyle.dark,
          child: ScreenA(),
        );
      });
  }
}

iOS

For iOS, you can specify the type of mask effect.

SecureAppSwitcher.on(iosStyle: SecureMaskStyle.blurLight);
  • Types of mask effects
Light Dark BlurLight BlurDark

Android

FLAG_SECURE of WindowManager LayoutParams is used.

WindowManager.LayoutParams | Android Developers

switching apps screenshot disabled
  • The type of mask effect cannot be specified like iOS.
  • In Android 11 or later, the mask effect is reflected by switching other apps once according to the specifications of Android OS.
  • Taking screenshots is not allowed when the feature is enabled.

Features and bugs

Please file feature requests and bugs on the issue tracker.

カテゴリー

依存関係

依存関係一覧 1 件

  • plugin_platform_interface^2.0.2

ソースリポジトリ

このパッケージを使用しているプロジェクト