Skip to content
A flutter plugin packages for open the app settings in Android
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea add the openSoundSetting() May 21, 2019
android add the openSoundSetting() May 21, 2019
example complete the security settings May 16, 2019
ios change the directory of package May 8, 2019
lib
test change the directory of package May 8, 2019
.gitignore change the directory of package May 8, 2019
.metadata
CHANGELOG.md
LICENSE create license May 8, 2019
README.md create the README.md May 8, 2019
open_settings.iml change the directory of package May 8, 2019
pubspec.lock complete the security settings May 16, 2019
pubspec.yaml add the openSoundSetting() May 21, 2019
version_image.svg

README.md

open_settings

pub package

A Flutter plugin for jumping to system settings.

For Android:

this plugin currently support jumping to WiFi, Mobile Data, Bluetooth ,Location, App Setting And Notification setting.
Other setting path will be added soon.

For iOS:

this plugin only opens the app setting screen Settings application, as using url schemes to open inner setting path is a violation of Apple's regulations. Using url scheme to open settings can also leads to possible App Store rejection.


If you can find any workaround or enhancement, pull requests are always welcome.


Usage

To use this plugin, add open_settings as a dependency in your pubspec.yaml file.

For iOS, It will always go to app setting.

Example

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

void main() => runApp(MaterialApp(
      home: Scaffold(
        body: Center(
          child: RaisedButton(
            onPressed: () {
                OpenSettings.openWIFISetting();
              },
            child: Text('Wi-fi Settings'),
          ),
        ),
      ),
    ));
You can’t perform that action at this time.