Search packages, repositories and app categories

account_picker cover
Package detailsv2.2.0

account_picker

Prompt user to pick an Email or a Phone number saved on device without requiring extra permission

Android
30-day downloads
481
Likes
29
Pub points
150

Install package

flutter pub add account_picker

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The account_picker package enables users to select an email or phone number saved on their device without requesting additional permissions. It leverages the device's built-in account manager to provide a seamless, secure way to access contact information. Ideal for authentication flows where users need to sign in with existing accounts, it simplifies the login process by reducing friction. The package is designed specifically for Android and integrates smoothly into Flutter applications.

Use cases

  • User login with saved email or phone
  • Simplified authentication flow
  • Contact-based sign-in without extra permissions
  • Pre-filling login forms
  • Reducing user input during onboarding
  • Secure account selection

Key features

  • No extra permissions required
  • Uses native Android account manager
  • Supports email and phone numbers
  • Simple integration with Flutter
  • Minimal UI customization needed
  • Cross-app account access

Suitable for

  • Authentication screens
  • Onboarding flows
  • Login with existing accounts
  • Apps needing quick account selection
  • Android-only Flutter apps
  • Privacy-focused applications

Considerations

  • Android only platform support
  • Limited to accounts stored on device
  • No iOS support
  • Depends on system account availability
  • May not work on all Android versions
  • Requires proper manifest configuration

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Account Picker Plugin

This Flutter plugin prompt suser to pick an Email or a Phone number saved on device without requiring extra permission It is a lightweight plugin that does not require extra permssion. This plugin does not require any special device permission.

It uses AccountPicker API.

This currently works for Android only.

Demo App

Usage to request Phone

final String phone = await AccountPicker.phoneHint();
setState(() {
    _phoneNumber = phone;
});

Usage to request Email

final EmailResult emailResult = await AccountPicker.emailHint();
print(emailResult);
setState(() {
    _email = emailResult.email;
    _accountType = emailResult.type;
});

TODO

Accepting PR for:

  • https://github.com/tolotrasamuel/account_picker/issues/8

Categories

Dependencies

Dependency list 1 items

  • plugin_platform_interface^2.0.2

Source repository

Projects using this package

No data available yet.