account_picker 2.2.0 copy "account_picker: ^2.2.0" to clipboard
account_picker: ^2.2.0 copied to clipboard

PlatformAndroid

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

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;
});
copied to clipboard

Usage to request Email #

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

TODO #

Accepting PR for:

29
likes
160
points
306
downloads

Publisher

verified publishertolotra.com

Weekly Downloads

2024.06.21 - 2025.01.03

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

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on account_picker