Search packages, repositories and app categories

GitHub repositoryssk-flutter/get_phone_number

get_phone_number

ssk-flutter/get_phone_number open-source repository details.

get_phone_number project cover
Stars
5
Forks
6
Last push (UTC)
May 7, 2026
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

get_phone_number

Get Phone Number from Android Native

Warning: This library works in only android.

Usage

Simple function
    String phoneNumber = await GetPhoneNumber().get();

    print('getPhoneNumber result: $phoneNumber');
List of phone number
    List<String> list = await GetPhoneNumber().getListPhoneNumber();

    print('getListPhoneNumber result: list');
Detailed function with android permissions
    final module = GetPhoneNumber();

    if (!module.isSupport()) {
        print('Not supported platform');
    }

    if (!await module.hasPermission()) {
      if (!await module.requestPermission()) {
        throw 'Failed to get permission phone number';
      }
    }

    String phoneNumber = await module.getPhoneNumber();
    print('getPhoneNumber result: $phoneNumber');

Buy Me A Coffee

ssk-flutter GitHub avatar
GitHub author

ssk-flutter ↗

LanguagesKotlinDart

Packages published by this repository

Dependencies used

Dependency list 3 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}
  • flutter_lintsDevelopment^5.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 ↗