open_settings 1.0.2 copy "open_settings: ^1.0.2" to clipboard
open_settings: ^1.0.2 copied to clipboard

outdated

The most complete flutter plugin packages for open various settings screen in Android and Ios

open_settings #

pub package

The most complete flutter plugin packages for open various settings screen in Android and Ios #

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'),
          ),
        ),
      ),
    ));
186
likes
0
pub points
96%
popularity

Publisher

unverified uploader

The most complete flutter plugin packages for open various settings screen in Android and Ios

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on open_settings