device_region 1.4.0 copy "device_region: ^1.4.0" to clipboard
device_region: ^1.4.0 copied to clipboard

This plugin uses platform-specific API to return SIM country code

1.4.0 #

Added very basic support for Windows and Linux. getSIMCountryCode will return null instead of throwing an exception. Thanks to Martin Clauss.

1.3.0 #

Updated dart SDK constraints from <3.0.0 to <4.0.0.

1.2.0 #

[iOS] Due to deprecated properties in CTTelephonyNetworkInfo class, from iOS 16.0 plugin uses Locale class and returns Locale.current.region.identifier.

1.1.0 #

[Android] Updated Gradle properties and dependencies.

1.0.2 #

Now return null if there is no SIM Card (UICC) in Android device (didn't return at all before).

1.0.1 #

Updated readme.

1.0.0 #

Updated to Flutter 3.

0.9.1 #

Updated readme.

0.9.0 #

Added platform specific code and shared getSIMCountryCode method.

21
likes
160
points
5.3k
downloads

Publisher

verified publishermatszafraniec.xyz

Weekly Downloads

This plugin uses platform-specific API to return SIM country code

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on device_region