mobile_carrier_detection 1.0.0 copy "mobile_carrier_detection: ^1.0.0" to clipboard
mobile_carrier_detection: ^1.0.0 copied to clipboard

This library detects the mobile carrier of a given South African phone number based on specific number patterns.

Mobile Carrier Detection Library (Dart) #

This library detects the mobile carrier of a given South African phone number based on specific number patterns.

Installation #

Install the package using dart pub:


dart pub add mobile_carrier_detection

Usage #


import 'package:mobile_carrier_detection/index.dart';

void main() {
  final phoneNumber = '0821234567';
  final carrier = CarrierDetection.detectCarrier(phoneNumber);
  print('Carrier: $carrier');  // Output: Carrier: Vodacom
}


Supported Carriers #

MTN
Vodacom
Cell C
Telkom Mobile
Lycamobile SA
Virgin Mobile
Rain
Toll-free, Premium-rate, and other service numbers

License #

This project is licensed under the MIT License.

0
likes
130
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

This library detects the mobile carrier of a given South African phone number based on specific number patterns.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on mobile_carrier_detection