account_manager_plugin 0.0.3 copy "account_manager_plugin: ^0.0.3" to clipboard
account_manager_plugin: ^0.0.3 copied to clipboard

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.

4
likes
40
pub points
39%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

GPL-3.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on account_manager_plugin