カテゴリー・パッケージ・リポジトリを検索

パッケージ詳細v2.1.0

system_settings

iOS および Android でシステム設定とアプリ設定を開くための Flutter プラグイン。

AndroidiOS
30日間ダウンロード
466
いいね数
68
Pub ポイント
140

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

flutter pub add system_settings

パッケージ概要

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

system_settings パッケージは、Android および iOS デバイスでシステム設定とアプリ設定を開くことを可能にする Flutter プラグインです。Bluetooth、Wi-Fi、アプリ権限などの特定の設定ページにユーザーを直接ナビゲートできる簡単なインターフェースを提供し、手動でのナビゲーションを減らすことでユーザーエクスペリエンスを向上させます。このプラグインは複数のプラットフォームでシームレスに動作し、既存の Flutter プロジェクトに簡単に統合できます。特定のアクション後の設定ステップや権限が拒否された場合に、ユーザーをガイドするのに特に役立ちます。

用途

  • アプリの権限設定を開く
  • Wi-Fi または Bluetooth 設定に移動する
  • ユーザーに位置サービスの有効化を促す
  • バッテリー最適化設定にリダイレクトしています
  • オンボーディングフローの改善
  • 権限拒否のシナリオの処理

主な機能

  • クロスプラットフォーム対応(Android および iOS)
  • システム設定を開くためのシンプルな API
  • 特定の設定ページへの直接ナビゲーション
  • 追加のネイティブコードは不要です
  • pub.dev を通じた簡単な統合
  • root や jailbreak なしで動作します

適している対象

  • システム設定への迅速なアクセスが必要なアプリ開発者
  • オンボーディングおよびチュートリアルフロー
  • 権限管理ワークフロー
  • モバイルアプリにおけるユーザー指導
  • Android および iOS の両方をターゲットとする開発者

注意事項

  • 一部の設定にアクセスするには適切な権限が必要です
  • 設定UIに対する制御が限られている
  • OSのバージョンによって動作がわずかに異なる場合があります
  • すべてのデバイス構成で動作しない
  • ユーザーは設定を手動で調整する必要があります
  • 一部のプラットフォームでシステムダイアログが表示される可能性があります

元の README

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

system_settings

Build pub package license

Flutter plugin to open system and app settings from an iOS and Android app.

On Android, this plugin supports various system setting pages as well as the app info and app notification settings page.

On iOS, this plugin will always open the app settings page, if any settings have been defined via a SettingsBundle. If not, the settings app will open with the home page. Unfortunately, this is the only way that complies with Apple's guidelines for the App Store.

Getting Started

Add this to your package's pubspec.yaml file:

dependencies:
  system_settings: 2.1.0

Next, import the package into your dart code:

import 'package:system_settings/system_settings.dart';

Example

Example which opens the app settings:

Widget build(BuildContext context) {
    return RaisedButton(
        onPressed: SystemSettings.app,
        child: Text('Open app settings'),
    );
}

Bugs and feature requests

Have a bug or a feature request? Please first search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Copyright & License

Code copyright 2020–2022 Florian Weinaug. Code released under the MIT license.

カテゴリー

ソースリポジトリ

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

データはまだありません。