account_manager_plugin

Introduction: AccountManager for Android obtains all accounts registered in the user's device
More: Author   ReportBugs   
Tags:

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.

Apps
About Me
GitHub: Trinea
Facebook: Dev Tools