get_ip 0.4.0

Flutter Android iOS

Helps you acquire the IP address of the users device on Android and iOS

get_ip #

Helps you acquire the IP address of the users device. (Works on Android & iOS)

Simply use this:

String ipAddress = await GetIp.ipAddress;

You need to import the package:

import 'package:get_ip/get_ip.dart';

And on Android you need to add these permissions:

    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

Please report all bugs :)

Getting Started #

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

22
likes
100
pub points
95%
popularity

Publisher

pdad.de

Helps you acquire the IP address of the users device on Android and iOS

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on get_ip