Search packages, repositories and app categories

Package detailsv9.0.1

app_settings

A Flutter plugin for opening iOS and Android phone settings from an app.

AndroidiOSmacOS
30-day downloads
855K
Likes
1.3K
Pub points
160

Install package

flutter pub add app_settings

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The app_settings package is a Flutter plugin that enables apps to open native device settings pages on Android, iOS, and macOS. It provides a simple interface to navigate users directly to system settings such as Bluetooth, Wi-Fi, or privacy permissions from within the app. This improves user experience by reducing friction when adjusting device configurations. The plugin leverages platform-specific APIs to ensure compatibility and reliability across supported platforms.

Use cases

  • Opening Bluetooth settings
  • Navigating to Wi-Fi settings
  • Redirecting to privacy permissions
  • Guiding users to location services
  • Accessing battery optimization settings

Key features

  • Cross-platform support (Android, iOS, macOS)
  • Simple API for opening system settings
  • Native integration with device settings
  • No additional permissions required
  • Lightweight and easy to integrate

Suitable for

  • Apps needing device configuration access
  • User onboarding flows
  • Permission request guidance
  • Troubleshooting tools
  • Settings navigation in mobile apps

Considerations

  • Requires user interaction to open settings
  • Limited to predefined system settings
  • Does not handle setting changes
  • Platform-specific behavior may vary
  • No feedback if settings are unavailable

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

app_settings

pub package

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.

Installation

First, add app_settings as a dependency in your pubspec.yaml file.

flutter pub add app_settings

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.

Widget build(BuildContext context) {
  return ElevatedButton(
    onPressed: () => AppSettings.openAppSettings(type: AppSettingsType.location),
    child: const Text('Open Location Settings'),
  );
}
Android Q Settings Panels

To open a Settings Panel on Android Q and higher, call AppSettings.openAppSettingsPanel() with a given type.

Widget build(BuildContext context) {
  return ElevatedButton(
    onPressed: () => AppSettings.openAppSettingsPanel(AppSettingsPanelType.volume),
    child: const Text('Open Volume Settings Panel'),
  );
}

Settings panels are not supported on other platforms.

Categories

Dependencies

Dependency list 1 items

  • plugin_platform_interface^2.0.2

Source repository

Projects using this package

Rankings