app_settings 패키지는 Android, iOS 및 macOS에서 네이티브 디바이스 설정 페이지를 열 수 있도록 해주는 Flutter 플러그인입니다. 블루투스, Wi-Fi 또는 개인정보 권한과 같은 시스템 설정으로 앱 내에서 사용자를 직접 이동시킬 수 있는 간단한 인터페이스를 제공합니다. 장치 구성 조정 시 번거로움을 줄여 사용자 경험을 향상시킵니다. 지원되는 플랫폼 간의 호환성과 신뢰성을 보장하기 위해 플랫폼별 API를 활용합니다.
사용 사례
블루투스 설정 열기
Wi-Fi 설정으로 이동
개인정보 허용으로 리디렉션 중
사용자 위치 서비스로 안내하기
배터리 최적화 설정에 액세스하기
주요 기능
크로스 플랫폼 지원 (Android, iOS, macOS)
시스템 설정을 여는 간단한 API
장치 설정과의 네이티브 통합
추가 권한이 필요하지 않습니다
경량이며 통합이 쉬움
적합한 대상
기기 구성 접근이 필요한 앱
사용자 온보딩 흐름
권한 요청 가이드라인
문제 해결 도구
모바일 앱 내 설정 탐색
고려 사항
설정을 열기 위해 사용자 상호작용이 필요합니다
사전 정의된 시스템 설정에 제한됨
설정 변경을 처리하지 않습니다
플랫폼별 동작은 다를 수 있습니다
설정이 사용 불가능할 경우 피드백 없음
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
app_settings
A Flutter plugin for opening iOS and Android phone settings from an app.
Features
Supports Swift Package Manager (SPM) for iOS integration.
Opens various settings pages (e.g., location, Wi-Fi, etc.) for both Android and iOS.
Next, import 'app_settings.dart' into your Dart code.
import'package:app_settings/app_settings.dart';
iOS
TIP: If using Objective-C for iOS in your project, you will need to add use_frameworks! to your Runner project podfile in order to use this Swift plugin:
target 'Runner' do
use_frameworks!
If you prefer using Swift Package Manager (SPM), make sure to enable swift support in your project.
See also Flutter SPM integration.
flutter config --enable-swift-package-manager
Usage
Open the settings of the application using AppSettings.openAppSettings().
By default, AppSettingsType.settings is used as the type, which opens the general application settings.
If the given type is not supported on the current platform, the general settings are opened instead.
Android If asAnotherTask is set to true, the settings page is opened in a different Activity.