搜尋套件、儲存庫與 APP 分類

套件詳情v0.5.1

open_settings_plus

最完整的 Flutter 插件套件,用於開啟各種設定螢幕,涵蓋較新的 iOS 與 Android 版本。

AndroidiOS
近 30 天下載
7.3萬
喜歡數
110
Pub 分數
160

安裝套件

flutter pub add open_settings_plus

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

open_settings_plus 是一個全面的 Flutter 插件,可於 Android 與 iOS 裝置上實現無縫導航至各種系統設定畫面。它支援現代作業系統版本,並提供對 Wi-Fi、藍牙、位置等重要設定的可靠存取。此插件專為跨平台一致性設計,透過最少的程式碼讓開發者開啟特定系統設定,簡化使用者體驗。該插件持續維護且文件完整,非常適合需要快速存取裝置設定的應用。

適用情境

  • 從應用內打開 Wi-Fi 設定
  • 正在轉到藍牙設定畫面
  • 引導使用者前往位置服務設定
  • 啟用快速存取電池優化設定
  • 引導使用者前往應用權限設定
  • 透過直接設定存取改善入職流程

主要特色

  • 支援 Android 與 iOS 平台
  • 涵蓋現代作業系統版本
  • 簡單 API,方法名稱清楚
  • 跨平台一致性
  • 活躍維護與更新
  • 完整的文件

適合對象

  • 需要系統設定存取權限的應用
  • 入門或設定向導
  • 權限請求指南
  • 設備配置助手
  • 用戶支援工具
  • 具有連接功能的移動應用

使用建議

  • 需要適當的平台權限
  • 在較舊的作業系統版本上行為可能不同
  • 僅限開啟系統設定(無法修改)
  • 依賴於作業系統層級的實作
  • 不適用於直接修改設定
  • 使用者可能需要手動確認動作

原始 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

原始碼儲存庫

使用此套件的專案