Search packages, repositories and app categories

GitHub repositorytolotrasamuel/account_picker

account_picker

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

account_picker project cover
Stars
3
Forks
5
Last push (UTC)
Dec 10, 2024
Project status
Active

Original README

English project snapshot. Visit GitHub 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
tolotrasamuel GitHub avatar
GitHub author

tolotrasamuel ↗

Just a hamster hitting the keyboard while eating a biscuit

LanguagesKotlinDartShell

Packages published by this repository

Dependencies used

Dependency list 4 items

  • flutter{"sdk":"flutter"}
  • plugin_platform_interface^2.0.2
  • flutter_testDevelopment{"sdk":"flutter"}
  • flutter_lintsDevelopment^3.0.0

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗