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

パッケージ詳細v0.5.1

open_settings_plus

最新のiOSおよびAndroidバージョンをカバーする、さまざまな設定画面を開くための最も包括的なFlutterプラグインパッケージ。

AndroidiOS
30日間ダウンロード
7.3万
いいね数
110
Pub ポイント
160

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

flutter pub add open_settings_plus

パッケージ概要

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

open_settings_plus は、Android および iOS デバイスでさまざまなシステム設定画面へのシームレスなナビゲーションを可能にする包括的な Flutter プラグインです。最新の OS バージョンをサポートし、Wi-Fi、Bluetooth、場所など重要な設定に信頼性の高いアクセスを提供します。クロスプラットフォームの一貫性を意識して設計されており、開発者が最小限のコードで特定のシステム設定を開くことを容易にします。このプラグインは積極的にメンテナンスされており、ドキュメントも充実しているため、デバイス構成への迅速なアクセスが必要なアプリに最適です。

用途

  • アプリ内から Wi-Fi 設定を開く
  • Bluetooth 設定画面に移動しています
  • ユーザーを位置サービスの設定へ誘導する
  • バッテリー最適化設定への素早いアクセスを有効にする
  • ユーザーをアプリの権限設定へ誘導する
  • 直接的な設定アクセスによるオンボーディングフローの改善

主な機能

  • Android および iOS プラットフォームをサポートしています
  • 最新のOSバージョンをカバー
  • シンプルなAPI、明確なメソッド名
  • クロスプラットフォームの一貫性
  • 積極的なメンテナンスと更新
  • 包括的なドキュメント

適している対象

  • システム設定へのアクセスが必要なアプリ
  • オンボーディングまたはセットアップウィザード
  • 権限のリクエストに関するガイドライン
  • デバイス構成ヘルパー
  • ユーザー支援ツール
  • 接続機能を備えたモバイルアプリ

注意事項

  • 適切なプラットフォーム権限が必要です
  • 古いOSバージョンでは動作が異なる場合があります
  • システム設定の開設のみ(変更不可)
  • OSレベルの実装に依存する
  • 設定を直接変更するには適していません
  • ユーザーは操作を手動で確認する必要がある場合があります

元の README

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

open_settings_plus

A comprehensive Flutter plugin to seamlessly navigate to various settings screens on both iOS and Android devices, ensuring compatibility with the latest versions of both platforms.

Known Issues

We are aware that the shortcuts in open_settings_plus are not functioning properly on the latest versions of iOS 18. This issue is currently under investigation, but progress has been challenging due to the lack of documentation or online resources regarding the new URL schemes.

A fix is being actively worked on and will be released as soon as possible.

📦 Installation

Add open_settings_plus to your pubspec.yaml as usual. On iOS, the plugin supports both CocoaPods and Swift Package Manager (SPM). CocoaPods remains supported for existing Flutter projects, while SPM is available when using Flutter 3.41.0 or newer with Flutter's Swift Package Manager integration enabled. The iOS deployment target is 12.0.

🚀 Usage

To integrate open_settings_plus into your project, add it as a dependency in your pubspec.yaml file.

import 'package:flutter/material.dart';
import 'package:open_settings_plus/open_settings_plus.dart';

void main() => runApp(MaterialApp(
      home: Scaffold(
        body: Center(
          child: ElevatedButton(
            onPressed: () {
              switch (OpenSettingsPlus.shared) {
                OpenSettingsPlusAndroid settings => settings.wifi(),
                OpenSettingsPlusIOS settings => settings.wifi(),
                _ => throw Exception('Platform not supported'),
              }
            },
            child: Text('Wi-Fi Settings'),
          ),
        ),
      ),
    )
  );

For more examples and use-cases, refer to the example directory.

🌟 Features

Android:

Navigate directly to:

  • Wi-Fi
  • Data Roaming
  • Location Source
  • App Settings
  • Bluetooth
  • Notifications
  • Security
  • Sound
  • Display
  • Date & Time
  • Device Information
  • Internal Storage
  • Memory Card
  • Accessibility
  • Add Account
  • Airplane Mode
  • APN Settings
  • Application Details
  • Application Development
  • Application Notifications
  • Open by Default
  • Application Write Settings
  • Battery Saver
  • Captioning
  • Cast
  • Data Usage
  • Mobile Hotspot & Tethering
  • App Notification Bubble
  • Search
  • Biometric Enrollment
  • Hardware Keyboard
  • Home
  • Ignore Background Data Restrictions
  • Ignore Battery Optimization
  • Input Method
  • Locale
  • Manage All Applications
  • Manage External Sources
  • Manage Overlay ... and more features being added regularly!
iOS:

Navigate directly to:

  • Wi-Fi
  • General Settings
  • About
  • Accessibility
  • Account Settings
  • Auto Lock
  • Battery
  • Bluetooth
  • Date & Time
  • Face ID & Passcode
  • Cellular
  • Dictionary
  • Display & Brightness
  • FaceTime
  • General
  • HealthKit
  • iCloud
  • Music
  • Keyboard
  • Language & Region
  • Location Services
  • Personal Hotspot
  • Phone
  • Photos & Camera
  • Privacy
  • Profiles & Device Management
  • Software Update
  • Storage & Backup
  • Siri
  • Sounds & Haptics ... and more features being added regularly!

🙏 Acknowledgments

This package was innovatively crafted by Yann Cabral. It was inspired by the fantastic work of Ali Hoseinpoor, aiming to overcome certain limitations.

🐞 Bugs or Feature Requests

Encountered an issue or have a feature in mind? We'd love to hear from you!

  • Report issues or seek features here.
  • Contributions via pull requests are always welcome!

This revised README provides a more structured and polished presentation of the plugin's features and usage.

カテゴリー

依存関係

依存関係一覧 1 件

  • plugin_platform_interface^2.0.2

ソースリポジトリ

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