account_manager_plugin 0.0.3

Flutter Android iOS

AccountManager for Android obtains all accounts registered in the user's device

account_manager_plugin #

This plugin allows Flutter apps to obtain all accounts registered in the user's device.

Usage #

Support only for Android. Added permission in the Manifests:

<uses-permission
        android:name="android.permission.GET_ACCOUNTS"
        android:maxSdkVersion="22" />

If the plugin is invoked on iOS, it will crash your app. In checked mode, we assert that the platform should be Android.

Use it by specifying action:

if (platform.isAndroid) {
    try {
      List<dynamic> accounts = await AccountManagerPlugin.getAccounts;
    } on PlatformException {}
}

Getting Started #

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

2
likes
100
pub points
69%
popularity

AccountManager for Android obtains all accounts registered in the user's device

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

uyeikel@gmail.com

License

GPL 3.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on account_manager_plugin